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/test3.cc

    r10221 r10230  
    6262    catch (std::exception &e)
    6363    {
     64#if BOOST_VERSION > 104000
    6465        po::multiple_occurrences *MO = dynamic_cast<po::multiple_occurrences*>(&e);
    6566        if (MO)
    6667            cout << "Error: " << e.what() << " of '" << MO->get_option_name() << "' option." << endl;
    6768        else
     69#endif
    6870            cout << "Error: " << e.what() << endl;
    6971        cout << endl;
Note: See TracChangeset for help on using the changeset viewer.