- 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:
alexey.lysiuk 2019-05-06 16:02:44 +03:00 committed by Rachael Alexanderson
parent d1e8bd61b0
commit d964a07835

View file

@ -241,7 +241,7 @@ public:
if (Next) Next->Prev = this;
}
~PPResource()
virtual ~PPResource()
{
if (Next) Next->Prev = Prev;
if (Prev) Prev->Next = Next;