summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-28 20:49:24 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-28 20:49:24 +0200
commitafece3f6acd9a7a4a009b73883d4c2d27ac1b8ce (patch)
treec74d0f6e0a0000274ece2d663ed90a83459191a0 /src/resources/resource.h
parent8d3b46c492cade8504fafedbd6c00b6a39968388 (diff)
downloadmanaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.gz
manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.bz2
manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.xz
manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.zip
Fix code style and some new compilation warnings.
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 89fcc9de7..d2f8ca313 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -62,7 +62,7 @@ class Resource
/**
* Return refCount for this resource.
*/
- unsigned getRefCount()
+ unsigned getRefCount() const
{ return mRefCount; }
protected: