mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Refactor a bunch of file stuff to be shorter and cleaner.
This commit is contained in:
@@ -36,6 +36,12 @@ FlagGroup::FlagGroup()
|
||||
currentFlagGroup = this;
|
||||
}
|
||||
|
||||
FlagGroup::FlagGroup(std::initializer_list<FlagGroup*> groups):
|
||||
_groups(groups)
|
||||
{
|
||||
currentFlagGroup = this;
|
||||
}
|
||||
|
||||
void FlagGroup::addFlag(Flag* flag)
|
||||
{
|
||||
_flags.push_back(flag);
|
||||
|
||||
@@ -7,10 +7,9 @@ class ConfigProto;
|
||||
|
||||
class FlagGroup
|
||||
{
|
||||
private:
|
||||
FlagGroup(const FlagGroup& group);
|
||||
public:
|
||||
FlagGroup();
|
||||
FlagGroup(std::initializer_list<FlagGroup*> groups);
|
||||
|
||||
public:
|
||||
void parseFlags(int argc, const char* argv[],
|
||||
|
||||
Reference in New Issue
Block a user