Remove unused m_debug_only member from Arg struct

This commit is contained in:
Hennadii Stepanov 2019-07-27 12:10:43 +03:00
parent fb4b9f9e3b
commit 9a12733508
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
2 changed files with 1 additions and 2 deletions

View File

@ -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
}

View File

@ -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;