Remove unused m_debug_only member from Arg struct
This commit is contained in:
parent
fb4b9f9e3b
commit
9a12733508
2 changed files with 1 additions and 2 deletions
|
@ -549,7 +549,7 @@ void ArgsManager::AddArg(const std::string& name, const std::string& help, unsig
|
||||||
|
|
||||||
LOCK(cs_args);
|
LOCK(cs_args);
|
||||||
std::map<std::string, Arg>& arg_map = m_available_args[cat];
|
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
|
assert(ret.second); // Make sure an insertion actually happened
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,6 @@ protected:
|
||||||
std::string m_help_param;
|
std::string m_help_param;
|
||||||
std::string m_help_text;
|
std::string m_help_text;
|
||||||
unsigned int m_flags;
|
unsigned int m_flags;
|
||||||
bool m_debug_only;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mutable CCriticalSection cs_args;
|
mutable CCriticalSection cs_args;
|
||||||
|
|
Loading…
Reference in a new issue