mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQProgOptions: initialize defaults in the constructor, not in ParseAll
This commit is contained in:
committed by
Mohammad Al-Turany
parent
778c8e16bb
commit
efdec0f6ba
@@ -161,6 +161,7 @@ class FairProgOptions
|
||||
// boost prog options parsers
|
||||
int ParseCmdLine(const int argc, char const* const* argv, const po::options_description& desc, po::variables_map& varmap, bool allowUnregistered = false);
|
||||
int ParseCmdLine(const int argc, char const* const* argv, const po::options_description& desc, bool allowUnregistered = false);
|
||||
void ParseDefaults(const po::options_description& desc);
|
||||
|
||||
virtual int ParseAll(const int argc, char const* const* argv, bool allowUnregistered = false) = 0;// TODO change return type to bool and propagate to executable
|
||||
|
||||
|
Reference in New Issue
Block a user