summaryrefslogtreecommitdiff
path: root/src/resources/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r--src/resources/resource.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp
index 5c1df52d..bd8cd437 100644
--- a/src/resources/resource.cpp
+++ b/src/resources/resource.cpp
@@ -43,7 +43,7 @@ Resource::incRef()
mRefCount++;
}
-bool
+void
Resource::decRef()
{
// Reference may not already have reached zero
@@ -56,9 +56,5 @@ Resource::decRef()
ResourceManager *resman = ResourceManager::getInstance();
resman->release(mIdPath);
delete this;
- return true;
- }
- else {
- return false;
}
}