Add a State dtor, fixes a -Wweak-vtables warning

This commit is contained in:
Sergio Martins
2020-12-09 11:13:32 +00:00
parent e55d75ba98
commit 9a9488117c
2 changed files with 3 additions and 0 deletions

View File

@@ -100,6 +100,8 @@ State::State(MinimalStateMachine *parent)
{
}
State::~State() = default;
bool State::isCurrentState() const
{
return m_machine->currentState() == this;