Changeset 11586 for trunk/FACT++


Ignore:
Timestamp:
07/25/11 13:44:05 (13 years ago)
Author:
tbretz
Message:
Added a fix when calling option_description::match for older boost versions.
File:
1 edited

Legend:

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

    r11578 r11586  
    12911291    {
    12921292        for (Descs::const_iterator id=desc.begin(); id!=desc.end(); id++)
     1293#if BOOST_VERSION > 104000
    12931294            if ((*id)->match(io->first, false, false, false)==po::option_description::approximate_match)
     1295#else
     1296            if ((*id)->match(io->first, false)==po::option_description::approximate_match)
     1297#endif
    12941298                fWildcardOptions[io->first] = (*id)->long_name();
    12951299    }
Note: See TracChangeset for help on using the changeset viewer.