mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 05:06:14 -05:00
Add const qualifier to various functions
This commit is contained in:
@@ -74,7 +74,7 @@ bool MacroActionVariable::PerformAction()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MacroActionVariable::Save(obs_data_t *obj)
|
||||
bool MacroActionVariable::Save(obs_data_t *obj) const
|
||||
{
|
||||
MacroAction::Save(obj);
|
||||
obs_data_set_string(obj, "variableName", _variableName.c_str());
|
||||
@@ -96,7 +96,7 @@ bool MacroActionVariable::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string MacroActionVariable::GetShortDesc()
|
||||
std::string MacroActionVariable::GetShortDesc() const
|
||||
{
|
||||
return _variableName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user