Changeset 10372 for trunk/FACT++/src/Configuration.cc
- Timestamp:
- 04/15/11 23:01:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r10330 r10372 258 258 - An example can be found in \ref argv.cc 259 259 260 @todo Maybe we should remove the necessity to propagate argv[0] in the constructor? 260 @todo 261 262 - Maybe we should remove the necessity to propagate argv[0] in the constructor? 263 - Add an option to the constructor to switch of database/file access 261 264 262 265 */ … … 776 779 //! - proper handling and error messages if files not available 777 780 // 778 const po::variables_map &Configuration::Parse(int argc, c har **argv)781 const po::variables_map &Configuration::Parse(int argc, const char **argv) 779 782 { 780 783 const po::positional_options_description &opt_positional = fArgumentPositions; … … 803 806 // ------------------------ (2) -------------------------- 804 807 805 po::command_line_parser parser(argc, argv);808 po::command_line_parser parser(argc, const_cast<char**>(argv)); 806 809 parser.options(opt_commandline); 807 810 parser.positional(opt_positional);
Note:
See TracChangeset
for help on using the changeset viewer.