From 660dcd09eb2c156e3ca8bafe0c1a339041204d33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Sep 2012 01:23:58 +0300 Subject: fix code style. --- src/map.h | 2 +- src/utils/mathutils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map.h b/src/map.h index 0dbfbd44f..3927d50cc 100644 --- a/src/map.h +++ b/src/map.h @@ -396,7 +396,7 @@ class Map final : public Properties, public ConfigListener std::map &getTileAnimations() { return mTileAnimations; } - void setAtlas(Resource *atlas) + void setAtlas(Resource *const atlas) { mAtlas = atlas; } protected: diff --git a/src/utils/mathutils.h b/src/utils/mathutils.h index 60f96729d..caed0d2f8 100644 --- a/src/utils/mathutils.h +++ b/src/utils/mathutils.h @@ -119,7 +119,7 @@ inline int roundDouble(const double v) return (v > 0.0) ? (v + 0.5) : (v - 0.5); } -inline int powerOfTwo(int input) +inline int powerOfTwo(const int input) { int value = 1; while (value < input) -- cgit v1.2.3-60-g2f50