diff options
Diffstat (limited to 'src/argparser.cc')
-rw-r--r-- | src/argparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.cc b/src/argparser.cc index 621bc5c..59cdced 100644 --- a/src/argparser.cc +++ b/src/argparser.cc @@ -237,7 +237,7 @@ void CommandLineArgs::registerArg(const string &arg, name = name.substr(2); } - reg.insert(make_pair(name, ArgOpts(shorts, boolean, optional, desc))); + reg.insert(make_pair(name, ArgOpts{shorts, boolean, optional, desc})); } bool CommandLineArgs::hasArg(const string &arg) const |