summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-09 02:10:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-09 02:10:39 +0300
commita57afc7e7bff5a166ec5f145fd3a3a54be7db0ae (patch)
tree1a7eb5dd954fcc6a8fac1dbbcb576ae97bd6ecca /src
parent99114f260f3310dc0133ccf29f9f5b0eb883618b (diff)
downloadplus-a57afc7e7bff5a166ec5f145fd3a3a54be7db0ae.tar.gz
plus-a57afc7e7bff5a166ec5f145fd3a3a54be7db0ae.tar.bz2
plus-a57afc7e7bff5a166ec5f145fd3a3a54be7db0ae.tar.xz
plus-a57afc7e7bff5a166ec5f145fd3a3a54be7db0ae.zip
Remove more extra includes.
Diffstat (limited to 'src')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp1
-rw-r--r--src/resources/resourcemanager/resourcemanager.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 5ddf08c97..1897e7572 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -35,7 +35,6 @@
#include "resources/sprite/spritedef.h"
#include "utils/checkutils.h"
-#include "utils/delete2.h"
#ifndef USE_OPENGL
#include <SDL_image.h>
diff --git a/src/resources/resourcemanager/resourcemanager.h b/src/resources/resourcemanager/resourcemanager.h
index 553967a7e..128de487b 100644
--- a/src/resources/resourcemanager/resourcemanager.h
+++ b/src/resources/resourcemanager/resourcemanager.h
@@ -24,9 +24,12 @@
#define RESOURCES_RESOURCEMANAGER_RESOURCEMANAGER_H
#include "resources/resourcefunctiontypes.h"
+
+#if defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS)
#include "resources/resourcetypes.h"
#include <set>
+#endif // defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS)
#include "localconsts.h"