diff options
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r-- | src/resources/resource.cpp | 2 |
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); } } |