From a3c0ce64ff095031b7defd51e06749328ca180be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 14:42:16 +0300 Subject: remove virtual keyword from unload method in Image. This need to avoid virtual function call from destructor. --- src/resources/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources') diff --git a/src/resources/image.h b/src/resources/image.h index 0369bff2c..f10734ba4 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -85,7 +85,7 @@ class Image : public Resource /** * Frees the resources created by SDL. */ - virtual void unload(); + void unload(); /** * Tells is the image is loaded -- cgit v1.2.3-70-g09d2