Add mutable bool active member to PyAction

This commit is contained in:
Joakim Hove
2020-03-22 19:31:12 +01:00
parent 4b687e3368
commit 4c25ce69c1
2 changed files with 6 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ public:
const std::string& name() const;
bool operator==(const PyAction& other) const;
PyAction::RunCount run_count() const;
bool active() const;
~PyAction();
/*
@@ -75,6 +76,7 @@ private:
RunCount m_run_count;
std::string input_code;
void * m_storage = nullptr;
mutable bool m_active = true;
};
}