Sdk/State: Make destructor virtual
Former-commit-id: 160f97ed46bebe76c8d74ebd2b0ee609052d1182 [formerly 422657a7e1576bc590e66c9d26c9dda68988c37c] Former-commit-id: 459cf63dfe7225687ce7f6e6373273ff7d8c24c5
This commit is contained in:
parent
705359e3b7
commit
f9a02f36d4
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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