Mark locale maps as const

There is no reason to have these not be const as new locale entries will
not be added at runtime.
This commit is contained in:
WarmUpTill
2023-06-03 16:23:05 +02:00
committed by WarmUpTill
parent b6031bd29a
commit dabb293cc0
24 changed files with 69 additions and 64 deletions

View File

@@ -16,7 +16,7 @@ bool MacroActionVariable::_registered = MacroActionFactory::Register(
{MacroActionVariable::Create, MacroActionVariableEdit::Create,
"AdvSceneSwitcher.action.variable"});
static std::map<MacroActionVariable::Type, std::string> actionTypes = {
const static std::map<MacroActionVariable::Type, std::string> actionTypes = {
{MacroActionVariable::Type::SET_FIXED_VALUE,
"AdvSceneSwitcher.action.variable.type.set"},
{MacroActionVariable::Type::APPEND,