Changeset 19056


Ignore:
Timestamp:
07/16/18 19:22:13 (6 years ago)
Author:
tbretz
Message:
Boost 1.41 didn't yet support that (ISDC)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Configuration.cc

    r19026 r19056  
    13041304        Parse(argc, argv, PrintHelp);
    13051305    }
    1306 #if BOOST_VERSION > 104000
    1307     catch (po::multiple_occurrences &e)
     1306#if BOOST_VERSION > 104100
     1307    catch (const po::multiple_occurrences &e)
    13081308    {
    13091309        cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl;
     
    13111311    }
    13121312#endif
    1313     catch (exception& e)
     1313    catch (const exception& e)
    13141314    {
    13151315        cerr << "Program options invalid due to: " << e.what() << endl;
     
    13261326        ParseFile(fname, checkf);
    13271327    }
    1328 #if BOOST_VERSION > 104000
    1329     catch (po::multiple_occurrences &e)
     1328#if BOOST_VERSION > 104100
     1329    catch (const po::multiple_occurrences &e)
    13301330    {
    13311331        cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl;
     
    13331333    }
    13341334#endif
    1335     catch (exception& e)
     1335    catch (const exception& e)
    13361336    {
    13371337        cerr << "Program options invalid due to: " << e.what() << endl;
     
    13681368    {
    13691369        for (Descs::const_iterator id=desc.begin(); id!=desc.end(); id++)
    1370 #if BOOST_VERSION > 104000
     1370#if BOOST_VERSION > 104100
    13711371            if ((*id)->match(io->first, false, false, false)==po::option_description::approximate_match)
    13721372#else
Note: See TracChangeset for help on using the changeset viewer.