diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-21 23:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-21 23:27:33 +0300 |
commit | d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0 (patch) | |
tree | 643c68086ee1258dbea0943f2928af626f3b9c81 /src/resources/image | |
parent | 5d6e4e9a5875d79173e9d2c867567dc26354240e (diff) | |
download | manaverse-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.gz manaverse-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.bz2 manaverse-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.xz manaverse-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.zip |
Remove useless variables.
Diffstat (limited to 'src/resources/image')
-rw-r--r-- | src/resources/image/subimage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp index 9eda05164..0b14b788e 100644 --- a/src/resources/image/subimage.cpp +++ b/src/resources/image/subimage.cpp @@ -227,8 +227,7 @@ void SubImage::decRef() int SubImage::calcMemoryLocal() const { - int sz = static_cast<int>(sizeof(SubImage) + + return static_cast<int>(sizeof(SubImage) + sizeof(std::map<float, SDL_Surface*>)) + Resource::calcMemoryLocal(); - return sz; } |