Sdk/State: Make destructor virtual
Former-commit-id: 1a2085fdfd415c7510dfb328a9bb76c3a396df06 [formerly d6f114767ebf264c4ea916aa08841a3973558834] Former-commit-id: adb5050379b9b2f1d795c1f0b7528f7b713c833e
This commit is contained in:
parent
32a58b2029
commit
84fdd61702
|
|
@ -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