summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/progs/manaplus/actions/actions.cpp1
-rw-r--r--src/resources/image/subimage.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 9c9f34a1f..188b76591 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -102,7 +102,6 @@
#include "resources/resourcemanager/resourcemanager.h"
#include "utils/chatutils.h"
-#include "utils/delete2.h"
#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/parameters.h"
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp
index 1f747ed43..cf2b22dd8 100644
--- a/src/resources/image/subimage.cpp
+++ b/src/resources/image/subimage.cpp
@@ -231,5 +231,5 @@ int SubImage::calcMemoryLocal() const
{
return static_cast<int>(sizeof(SubImage) +
sizeof(std::map<float, SDL_Surface*>)) +
- Resource::calcMemoryLocal();
+ Image::calcMemoryLocal();
}