Ignore:
Timestamp:
03/09/11 08:35:04 (11 years ago)
Author:
tbretz
Message:
Added compatibility with boost V1.40
File:
1 edited

Legend:

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

    r10222 r10230  
    149149    catch (std::exception &e)
    150150    {
     151#if BOOST_VERSION > 104000
    151152        po::multiple_occurrences *MO = dynamic_cast<po::multiple_occurrences*>(&e);
    152153        if (MO)
    153154            cout << "Error: " << e.what() << " of '" << MO->get_option_name() << "' option." << endl;
    154155        else
     156#endif
    155157            cout << "Error: " << e.what() << endl;
    156158        cout << endl;
Note: See TracChangeset for help on using the changeset viewer.