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 {
|
||||
public:
|
||||
GameBase(Logger& inlog, int argc, char* argv[]);
|
||||
~GameBase();
|
||||
|
||||
virtual ~GameBase() = 0;
|
||||
|
||||
GameWindow& getWindow() {
|
||||
return window;
|
||||
|
@ -47,7 +47,7 @@ class RWGame : public GameBase {
|
||||
|
||||
public:
|
||||
RWGame(Logger& log, int argc, char* argv[]);
|
||||
~RWGame();
|
||||
~RWGame() override;
|
||||
|
||||
int run();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user