Changeset 19056
- Timestamp:
- 07/16/18 19:22:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r19026 r19056 1304 1304 Parse(argc, argv, PrintHelp); 1305 1305 } 1306 #if BOOST_VERSION > 104 0001307 catch ( po::multiple_occurrences &e)1306 #if BOOST_VERSION > 104100 1307 catch (const po::multiple_occurrences &e) 1308 1308 { 1309 1309 cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl; … … 1311 1311 } 1312 1312 #endif 1313 catch ( exception& e)1313 catch (const exception& e) 1314 1314 { 1315 1315 cerr << "Program options invalid due to: " << e.what() << endl; … … 1326 1326 ParseFile(fname, checkf); 1327 1327 } 1328 #if BOOST_VERSION > 104 0001329 catch ( po::multiple_occurrences &e)1328 #if BOOST_VERSION > 104100 1329 catch (const po::multiple_occurrences &e) 1330 1330 { 1331 1331 cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl; … … 1333 1333 } 1334 1334 #endif 1335 catch ( exception& e)1335 catch (const exception& e) 1336 1336 { 1337 1337 cerr << "Program options invalid due to: " << e.what() << endl; … … 1368 1368 { 1369 1369 for (Descs::const_iterator id=desc.begin(); id!=desc.end(); id++) 1370 #if BOOST_VERSION > 104 0001370 #if BOOST_VERSION > 104100 1371 1371 if ((*id)->match(io->first, false, false, false)==po::option_description::approximate_match) 1372 1372 #else
Note:
See TracChangeset
for help on using the changeset viewer.