commit 6e601612
Add a virtual destructor for good measure.
Changed files
| M | source/code/sago/GameStateInterface.hpp before |
diff --git a/source/code/sago/GameStateInterface.hpp b/source/code/sago/GameStateInterface.hpp
index 43b528b..3cb0067 100644
--- a/source/code/sago/GameStateInterface.hpp
+++ b/source/code/sago/GameStateInterface.hpp
@@ -46,6 +46,8 @@ public:
virtual void ProcessInput(const SDL_Event& event, bool &processed) = 0;
virtual void Update() {}
+
+ virtual ~GameStateInterface() {}
};
} //sago