Sdk/State: Make destructor virtual
Former-commit-id: 51b552a0f0282173e73c8613d1924cc1e4105ac1 [formerly 1250f95f374a7b67e47667f4a5dd00f9ae5b1a1f] Former-commit-id: 85a77a07290da117bfcfbe6ccec7bc85b2c170dc
This commit is contained in:
parent
99fde96fee
commit
4b02ab698f
|
|
@ -17,7 +17,7 @@ namespace Ndk
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
State() = default;
|
State() = default;
|
||||||
~State() = default;
|
virtual ~State();
|
||||||
|
|
||||||
virtual void Enter(StateMachine& fsm) = 0;
|
virtual void Enter(StateMachine& fsm) = 0;
|
||||||
virtual void Leave(StateMachine& fsm) = 0;
|
virtual void Leave(StateMachine& fsm) = 0;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
// Copyright (C) 2016 Jérôme Leclercq
|
||||||
|
// This file is part of the "Nazara Development Kit"
|
||||||
|
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
|
||||||
|
|
||||||
|
#include <NDK/State.hpp>
|
||||||
|
|
||||||
|
namespace Ndk
|
||||||
|
{
|
||||||
|
State::~State() = default;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue