Ignore:
Timestamp:
05/20/11 13:28:04 (13 years ago)
Author:
tbretz
Message:
Made it compatible with older boost versions.
File:
1 edited

Legend:

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

    r10710 r10765  
    762762        ("no-dim,d",          po_switch(),    "Disable dim services")
    763763        ("console,c",         var<int>(),     "Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
    764         ("schedule-database", var<string>()->required(),
    765                                               "Database link as in\n\t[user:[password]@][server][:port][/database]\nOverwrites options from the default configuration file.")
     764        ("schedule-database", var<string>()
     765#if BOOST_VERSION >= 104200
     766         ->required()
     767#endif
     768                                           ,  "Database link as in\n\t[user:[password]@][server][:port][/database]\nOverwrites options from the default configuration file.")
    766769        ("mintime",           var<int>(),     "minimum observation time")
    767770        ;
Note: See TracChangeset for help on using the changeset viewer.