X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frefcounter.hpp;h=e810efe106f4bc49c771fc601cfa62aa6c2d8b6d;hb=d091bb359b3d5112bd3a6fb73def479bcb779b6f;hp=0a56b0680f8729ef252e6051681db7567dafccb2;hpb=5fd31cce2830c983ba2ed621ab0bb0f29cbfa1a6;p=supertux.git diff --git a/src/refcounter.hpp b/src/refcounter.hpp index 0a56b0680..e810efe10 100644 --- a/src/refcounter.hpp +++ b/src/refcounter.hpp @@ -44,7 +44,6 @@ public: refcount--; if(refcount <= 0) { delete this; - return; } }