summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fonts/font.cpp2
-rw-r--r--src/gui/models/shopitems.cpp2
-rw-r--r--src/gui/sdlinput.cpp1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp
index 469d4e81c..d689ef88c 100644
--- a/src/gui/fonts/font.cpp
+++ b/src/gui/fonts/font.cpp
@@ -66,8 +66,6 @@
#include "gui/fonts/font.h"
-#include "logger.h"
-
#include "gui/fonts/textchunk.h"
#include "render/graphics.h"
diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp
index 3a0d933cc..409ca3f63 100644
--- a/src/gui/models/shopitems.cpp
+++ b/src/gui/models/shopitems.cpp
@@ -128,7 +128,7 @@ void ShopItems::erase(const unsigned int i)
if (i >= static_cast<unsigned int>(mShopItems.size()))
return;
- ShopItem *item = *(mShopItems.begin() + i);
+ const ShopItem *const item = *(mShopItems.begin() + i);
std::vector<ShopItem*>::iterator it;
if (findInAllItems(it, item))
mAllShopItems.erase(it);
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 6afa510d5..cc3693418 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -75,7 +75,6 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "logger.h"
#include "sdlshared.h"
#include "input/inputmanager.h"