mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +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
97375feee6
commit
a897751fb7
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ public:
|
||||||
if (Next) Next->Prev = this;
|
if (Next) Next->Prev = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
~PPResource()
|
virtual ~PPResource()
|
||||||
{
|
{
|
||||||
if (Next) Next->Prev = Prev;
|
if (Next) Next->Prev = Prev;
|
||||||
if (Prev) Prev->Next = Next;
|
if (Prev) Prev->Next = Next;
|
||||||
|
|
Loading…
Reference in a new issue