diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 14:42:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | a3c0ce64ff095031b7defd51e06749328ca180be (patch) | |
tree | 88d73ffcbad73daca98f57b9f96d6e7dcfd299f8 | |
parent | d6f3b6a128df68705135b61a404fb4b878cc5e52 (diff) | |
download | mv-a3c0ce64ff095031b7defd51e06749328ca180be.tar.gz mv-a3c0ce64ff095031b7defd51e06749328ca180be.tar.bz2 mv-a3c0ce64ff095031b7defd51e06749328ca180be.tar.xz mv-a3c0ce64ff095031b7defd51e06749328ca180be.zip |
remove virtual keyword from unload method in Image.
This need to avoid virtual function call from destructor.
-rw-r--r-- | src/resources/image.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |