From eb082b22760c35e62a5fd2faf8fbc743ad57ea8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Aug 2017 17:07:51 +0300 Subject: Remove extra includes. --- src/unittests/gui/widgets/browserbox.cc | 2 -- src/unittests/resources/dye/dye.cc | 2 -- src/unittests/resources/dye/dyepalette.cc | 2 -- src/unittests/resources/map/speciallayer.cc | 2 -- src/unittests/resources/resourcemanager/resourcemanager.cc | 1 - src/unittests/resources/sprite/animatedsprite.cc | 2 -- src/unittests/utils/chatutils.cc | 2 -- src/unittests/utils/translation/poparser.cc | 2 -- 8 files changed, 15 deletions(-) (limited to 'src/unittests') diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc index d73ad06f3..2a72350af 100644 --- a/src/unittests/gui/widgets/browserbox.cc +++ b/src/unittests/gui/widgets/browserbox.cc @@ -41,8 +41,6 @@ #include "render/sdlgraphics.h" -#include "resources/resourcemanager/resourcemanager.h" - #include "resources/sdlimagehelper.h" #include "debug.h" diff --git a/src/unittests/resources/dye/dye.cc b/src/unittests/resources/dye/dye.cc index f9c98e635..54ddd7c45 100644 --- a/src/unittests/resources/dye/dye.cc +++ b/src/unittests/resources/dye/dye.cc @@ -44,8 +44,6 @@ #include "resources/loaders/imageloader.h" -#include "resources/resourcemanager/resourcemanager.h" - #include "utils/delete2.h" #include "utils/env.h" diff --git a/src/unittests/resources/dye/dyepalette.cc b/src/unittests/resources/dye/dyepalette.cc index d5fec4fcc..54d947358 100644 --- a/src/unittests/resources/dye/dyepalette.cc +++ b/src/unittests/resources/dye/dyepalette.cc @@ -41,8 +41,6 @@ #include "resources/dye/dyepalette.h" -#include "resources/resourcemanager/resourcemanager.h" - #include "utils/delete2.h" #include "utils/env.h" diff --git a/src/unittests/resources/map/speciallayer.cc b/src/unittests/resources/map/speciallayer.cc index 714074f33..ef9b79e48 100644 --- a/src/unittests/resources/map/speciallayer.cc +++ b/src/unittests/resources/map/speciallayer.cc @@ -34,8 +34,6 @@ #include "fs/virtfs/fs.h" -#include "gui/gui.h" - #include "utils/delete2.h" #include "utils/env.h" diff --git a/src/unittests/resources/resourcemanager/resourcemanager.cc b/src/unittests/resources/resourcemanager/resourcemanager.cc index 232e940bc..d035faafb 100644 --- a/src/unittests/resources/resourcemanager/resourcemanager.cc +++ b/src/unittests/resources/resourcemanager/resourcemanager.cc @@ -28,7 +28,6 @@ #include "fs/virtfs/fs.h" -#include "gui/gui.h" #include "gui/userpalette.h" #include "gui/theme.h" diff --git a/src/unittests/resources/sprite/animatedsprite.cc b/src/unittests/resources/sprite/animatedsprite.cc index 76e28bc7d..a48c21baa 100644 --- a/src/unittests/resources/sprite/animatedsprite.cc +++ b/src/unittests/resources/sprite/animatedsprite.cc @@ -41,8 +41,6 @@ #include "resources/animation/animation.h" -#include "resources/resourcemanager/resourcemanager.h" - #include "resources/sprite/animatedsprite.h" #include "utils/env.h" diff --git a/src/unittests/utils/chatutils.cc b/src/unittests/utils/chatutils.cc index 64c655f57..88e6bdf82 100644 --- a/src/unittests/utils/chatutils.cc +++ b/src/unittests/utils/chatutils.cc @@ -44,8 +44,6 @@ #include "resources/sdlimagehelper.h" -#include "resources/resourcemanager/resourcemanager.h" - PRAGMA48(GCC diagnostic push) PRAGMA48(GCC diagnostic ignored "-Wshadow") #ifndef USE_SDL2 diff --git a/src/unittests/utils/translation/poparser.cc b/src/unittests/utils/translation/poparser.cc index bca391ee6..b7325b1de 100644 --- a/src/unittests/utils/translation/poparser.cc +++ b/src/unittests/utils/translation/poparser.cc @@ -43,8 +43,6 @@ #include "resources/sdlimagehelper.h" -#include "resources/resourcemanager/resourcemanager.h" - #include "debug.h" TEST_CASE("PoParser tests", "PoParser") -- cgit v1.2.3-60-g2f50