Sdk/State: Make destructor virtual

Former-commit-id: 51b552a0f0282173e73c8613d1924cc1e4105ac1 [formerly 1250f95f374a7b67e47667f4a5dd00f9ae5b1a1f]
Former-commit-id: 85a77a07290da117bfcfbe6ccec7bc85b2c170dc
This commit is contained in:
Lynix
2016-07-26 21:07:20 +02:00
parent 99fde96fee
commit 4b02ab698f
2 changed files with 11 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ namespace Ndk
{
public:
State() = default;
~State() = default;
virtual ~State();
virtual void Enter(StateMachine& fsm) = 0;
virtual void Leave(StateMachine& fsm) = 0;