Remove unused m_debug_only member from Arg struct

pull/764/head
Hennadii Stepanov 5 years ago
parent fb4b9f9e3b
commit 9a12733508
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -549,7 +549,7 @@ void ArgsManager::AddArg(const std::string& name, const std::string& help, unsig
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, flags, false});
auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, flags});
assert(ret.second); // Make sure an insertion actually happened
}

@ -152,7 +152,6 @@ protected:
std::string m_help_param;
std::string m_help_text;
unsigned int m_flags;
bool m_debug_only;
};
mutable CCriticalSection cs_args;

Loading…
Cancel
Save