From a57afc7e7bff5a166ec5f145fd3a3a54be7db0ae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Apr 2017 02:10:39 +0300 Subject: Remove more extra includes. --- src/resources/resourcemanager/resourcemanager.cpp | 1 - src/resources/resourcemanager/resourcemanager.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 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 +#endif // defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS) #include "localconsts.h" -- cgit v1.2.3-70-g09d2