mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 14:41:40 +00:00
- added virtual destructor to FDelayedCommand
src/c_dispatch.cpp:143:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] src/tarray.h:582:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] src/tarray.h:574:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
This commit is contained in:
parent
9bb4ea34e7
commit
95679c36b2
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ public:
|
|||
|
||||
class FDelayedCommand
|
||||
{
|
||||
public:
|
||||
virtual ~FDelayedCommand() {}
|
||||
|
||||
protected:
|
||||
virtual bool Tick() = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue