Moved program_options add_options to a helper function to allow defaults to be set by derived class constructor before immutable options are created by parent

This commit is contained in:
Sean Hawkes
2021-09-18 04:55:50 -05:00
parent 20ca5c1361
commit f47e918caa
4 changed files with 14 additions and 3 deletions
+1
View File
@@ -70,6 +70,7 @@ struct CommonOptions
langutil::EVMVersion evmVersion() const;
virtual addOptions();
virtual bool parse(int argc, char const* const* argv);
// Throws a ConfigException on error
virtual void validate() const;