summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index b73597d14..cf3555cf5 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -52,7 +52,7 @@ class Resource
/**
* Increments the internal reference count.
*/
- void incRef();
+ virtual void incRef();
/**
* Decrements the reference count and deletes the object
@@ -61,7 +61,7 @@ class Resource
* @return <code>true</code> if the object was deleted
* <code>false</code> otherwise.
*/
- void decRef();
+ virtual void decRef();
/**
* Return the path identifying this resource.