summaryrefslogtreecommitdiff
path: root/src/argparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/argparser.cc')
-rw-r--r--src/argparser.cc2
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