diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-12 21:29:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-12 22:22:59 +0300 |
commit | 03889098f030471b88b007e03a1c5a5630434521 (patch) | |
tree | 4b60ab4f26e44908bf240254029976eb078fdaa0 /src/resources | |
parent | c565936b3ac5b6e1ab0d5ca30963619c7b725bb6 (diff) | |
download | manaplus-03889098f030471b88b007e03a1c5a5630434521.tar.gz manaplus-03889098f030471b88b007e03a1c5a5630434521.tar.bz2 manaplus-03889098f030471b88b007e03a1c5a5630434521.tar.xz manaplus-03889098f030471b88b007e03a1c5a5630434521.zip |
Fix code style and other small issues.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resource.h | 2 | ||||
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h index 0577a3569..bfb93a700 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -87,7 +87,7 @@ class Resource std::string getSource() const A_WARN_UNUSED { return mSource; } - void setProtected(bool b) + void setProtected(const bool b) { mProtected = b; } bool isProtected() const diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 2baf09340..0cff31f0a 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -783,7 +783,7 @@ struct WalkLayerLoader }; WalkLayer *ResourceManager::getWalkLayer(const std::string &name, - Map *const map) + Map *const map) { WalkLayerLoader rl = {name, map}; return static_cast<WalkLayer*>(get("map_" + name, |