mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 00:56:00 -05:00
Add const qualifier to various functions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "macro-action.hpp"
|
||||
#include "advanced-scene-switcher.hpp"
|
||||
|
||||
bool MacroAction::Save(obs_data_t *obj)
|
||||
bool MacroAction::Save(obs_data_t *obj) const
|
||||
{
|
||||
MacroSegment::Save(obj);
|
||||
obs_data_set_string(obj, "id", GetId().c_str());
|
||||
@@ -14,7 +14,7 @@ bool MacroAction::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
void MacroAction::LogAction()
|
||||
void MacroAction::LogAction() const
|
||||
{
|
||||
vblog(LOG_INFO, "performed action %s", GetId().c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user