mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 05:06:14 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user