summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-17 00:17:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-17 00:17:13 +0300
commit26f2c689298bb2077000b81ff3fe14328a89feb8 (patch)
tree2821e64165ca0ee2b7f18fb8ec3f53bf1f52a0a7 /src/gui
parente528b472ec803ecdec29e9e19c037c83adf30c1f (diff)
downloadmv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.gz
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.bz2
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.xz
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.zip
Fix code style.
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"