From 91fa2122a536770924bb2819bec4b79e76393d08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 11 Sep 2012 20:03:02 +0300 Subject: Fix code style and small perfomance issues. --- src/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 6d3d96fd9..29d9a6821 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -22,7 +22,6 @@ #include "map.h" -#include "actorspritemanager.h" #include "client.h" #include "configuration.h" @@ -706,7 +705,7 @@ Actors::iterator Map::addActor(Actor *const actor) return mActors.begin(); } -void Map::removeActor(Actors::iterator iterator) +void Map::removeActor(const Actors::iterator iterator) { mActors.erase(iterator); // mSpritesUpdated = true; -- cgit v1.2.3-70-g09d2