diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-28 02:09:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-30 04:19:00 +0300 |
commit | 48a21f6542e799e41735febbda76815e058954ac (patch) | |
tree | d42804ec7de20a3d0c1f417164c547328279ce10 /src/resources/resource.h | |
parent | 2364404717e7e7b93daf00f22ee17f72db6e5b27 (diff) | |
download | ManaVerse-48a21f6542e799e41735febbda76815e058954ac.tar.gz ManaVerse-48a21f6542e799e41735febbda76815e058954ac.tar.bz2 ManaVerse-48a21f6542e799e41735febbda76815e058954ac.tar.xz ManaVerse-48a21f6542e799e41735febbda76815e058954ac.zip |
Override inc/dec ref to add/remove atlas images to resource cache.
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r-- | src/resources/resource.h | 4 |
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. |