managers: refactor class member vars (#10242)
This commit is contained in:
parent
6f174a9e08
commit
ce821294e2
54 changed files with 930 additions and 932 deletions
|
|
@ -2359,9 +2359,9 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command
|
|||
// to lower
|
||||
std::transform(HANDLER.begin(), HANDLER.end(), HANDLER.begin(), ::tolower);
|
||||
|
||||
const auto DISPATCHER = g_pKeybindManager->m_mDispatchers.find(HANDLER);
|
||||
const auto DISPATCHER = g_pKeybindManager->m_dispatchers.find(HANDLER);
|
||||
|
||||
if (DISPATCHER == g_pKeybindManager->m_mDispatchers.end()) {
|
||||
if (DISPATCHER == g_pKeybindManager->m_dispatchers.end()) {
|
||||
Debug::log(ERR, "Invalid dispatcher: {}", HANDLER);
|
||||
return "Invalid dispatcher, requested \"" + HANDLER + "\" does not exist";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue