summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resource.h2
-rw-r--r--src/resources/resourcemanager.cpp2
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,