fix missing virtual destructor

This commit is contained in:
Green Sky 2024-04-06 11:55:42 +02:00
parent b6ab400943
commit 6968d4403e
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ class Doom {
Doom(
TextureUploaderI& tu
);
~Doom(void);
virtual ~Doom(void);
float render(float time_delta);

View File

@ -12,7 +12,7 @@ class DoomIMGUI {
DoomIMGUI(
TextureUploaderI& tu
);
~DoomIMGUI(void);
virtual ~DoomIMGUI(void);
// render imgui
float render(float time_delta);