1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Change type of GameBase dtor to virtual

There's no usage of this class, so
I've set dtor to pure virtual.
This commit is contained in:
Filip Gawin 2018-01-01 04:21:58 +01:00 committed by Daniel Evans
parent 8cc8be5603
commit 4a3a6daa9f
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,8 @@
class GameBase { class GameBase {
public: public:
GameBase(Logger& inlog, int argc, char* argv[]); GameBase(Logger& inlog, int argc, char* argv[]);
~GameBase();
virtual ~GameBase() = 0;
GameWindow& getWindow() { GameWindow& getWindow() {
return window; return window;

View File

@ -47,7 +47,7 @@ class RWGame : public GameBase {
public: public:
RWGame(Logger& log, int argc, char* argv[]); RWGame(Logger& log, int argc, char* argv[]);
~RWGame(); ~RWGame() override;
int run(); int run();