aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 10:19:53 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 15:05:14 +0300
commit265c1b58d89b7b6fb30468ba402d7f75cc59a510 (patch)
treeaf29b6ddde03bfc975825c67d6f42f990a90c940 /src/util/system.cpp
parente0d187dfeb18b026de22bd7960b2a50c2b958e1a (diff)
downloadbitcoin-265c1b58d89b7b6fb30468ba402d7f75cc59a510.tar.xz
Add Flags enum to ArgsManager
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r--src/util/system.cpp2
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
}