diff options
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index eb3f90dcf7..155809c220 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -549,7 +549,7 @@ void ArgsManager::AddArg(const std::string& name, const std::string& help, const LOCK(cs_args); std::map<std::string, Arg>& arg_map = m_available_args[cat]; - auto ret = arg_map.emplace(name.substr(0, eq_index), Arg(name.substr(eq_index, name.size() - eq_index), help, debug_only)); + auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, ArgsManager::NONE, debug_only}); assert(ret.second); // Make sure an insertion actually happened } |