mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 22:31:17 +00:00
Fix -Wdelete-non-virtual-dtor warnings
delete called on 'idSIMDProcessor' that is abstract but has non-virtual destructor
This commit is contained in:
parent
a3cd1cf54b
commit
10e9ef2a52
2 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,7 @@ typedef enum {
|
|||
class idSIMDProcessor {
|
||||
public:
|
||||
idSIMDProcessor( void ) { cpuid = CPUID_NONE; }
|
||||
virtual ~idSIMDProcessor() { };
|
||||
|
||||
int cpuid;
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ public:
|
|||
public:
|
||||
BOBrick();
|
||||
BOBrick( BOEntity *_ent, float _x, float _y, float _width, float _height );
|
||||
~BOBrick();
|
||||
virtual ~BOBrick();
|
||||
|
||||
virtual void WriteToSaveGame( idFile *savefile );
|
||||
virtual void ReadFromSaveGame( idFile *savefile, idGameBustOutWindow *game );
|
||||
|
|
Loading…
Reference in a new issue