mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed compilation warning reported by Clang
src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp:1007:13: warning: delete called on non-final 'PPTexture' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
This commit is contained in:
parent
d1e8bd61b0
commit
d964a07835
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ public:
|
|||
if (Next) Next->Prev = this;
|
||||
}
|
||||
|
||||
~PPResource()
|
||||
virtual ~PPResource()
|
||||
{
|
||||
if (Next) Next->Prev = Prev;
|
||||
if (Prev) Prev->Next = Next;
|
||||
|
|
Loading…
Reference in a new issue