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:
parent
8cc8be5603
commit
4a3a6daa9f
@ -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;
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user