Add a State dtor, fixes a -Wweak-vtables warning
This commit is contained in:
@@ -100,6 +100,8 @@ State::State(MinimalStateMachine *parent)
|
||||
{
|
||||
}
|
||||
|
||||
State::~State() = default;
|
||||
|
||||
bool State::isCurrentState() const
|
||||
{
|
||||
return m_machine->currentState() == this;
|
||||
|
||||
Reference in New Issue
Block a user