Skip to content
Permalink
Browse files

- 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]
  • Loading branch information...
alexey-lysiuk authored and madame-rachelle committed May 6, 2019
1 parent d1e8bd6 commit d964a07835e5efd714a1985b2697ffca62dd39e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rendering/hwrenderer/postprocessing/hw_postprocess.h
@@ -241,7 +241,7 @@ class PPResource
if (Next) Next->Prev = this;
}

~PPResource()
virtual ~PPResource()
{
if (Next) Next->Prev = Prev;
if (Prev) Prev->Next = Next;

0 comments on commit d964a07

Please sign in to comment.
You can’t perform that action at this time.