summaryrefslogtreecommitdiff
path: root/src/resources/resource.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-03 00:32:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-03 00:32:00 +0300
commitfa21c1b65dbe91a1e6ac880db977416162f268df (patch)
tree7fa06ef18a171d62ff892c99e710d4df7aff91b5 /src/resources/resource.cpp
parent0534847df83047f1ce2605187d45a762ffeae11e (diff)
downloadmanaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.gz
manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.bz2
manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.xz
manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.zip
Add const to more classes.
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r--src/resources/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp
index e9449f0c9..44fc59f5a 100644
--- a/src/resources/resource.cpp
+++ b/src/resources/resource.cpp
@@ -52,7 +52,7 @@ void Resource::decRef()
if (mRefCount == 0)
{
// Warn the manager that this resource is no longer used.
- ResourceManager *resman = ResourceManager::getInstance();
+ ResourceManager *const resman = ResourceManager::getInstance();
resman->release(this);
}
}