mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed compilation warnings reported by Clang
src/g_level.cpp:1575:16: warning: delete called on non-final 'DoomLevelAABBTree' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] src/p_setup.cpp:367:16: warning: delete called on non-final 'DoomLevelAABBTree' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
This commit is contained in:
parent
928c738e19
commit
718e2ea0f5
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ public:
|
|||
size_t DynamicLinesOffset() const { return dynamicStartLine * sizeof(AABBTreeLine); }
|
||||
|
||||
virtual bool Update() = 0;
|
||||
|
||||
virtual ~LevelAABBTree() = default;
|
||||
|
||||
protected:
|
||||
|
||||
TArray<int> FindNodePath(unsigned int line, unsigned int node);
|
||||
|
|
Loading…
Reference in a new issue