summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 22:41:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 22:41:01 +0300
commit4d8b97711684c66338c629500ea650c3d1a6802f (patch)
tree4aaac02869eb07587beaec7a1c643c9da6a64478 /src/resources/resource.h
parentc3505b360ee56486acdbb4f26e0b76f610ce92d1 (diff)
downloadmanaverse-4d8b97711684c66338c629500ea650c3d1a6802f.tar.gz
manaverse-4d8b97711684c66338c629500ea650c3d1a6802f.tar.bz2
manaverse-4d8b97711684c66338c629500ea650c3d1a6802f.tar.xz
manaverse-4d8b97711684c66338c629500ea650c3d1a6802f.zip
move bools in resource.
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 4c1eef90a..0aa2e34b0 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -45,12 +45,12 @@ class Resource
mIdPath(),
mSource(),
mTimeStamp(0),
- mProtected(false),
-#ifdef DEBUG_DUMP_LEAKS
mRefCount(0),
+#ifdef DEBUG_DUMP_LEAKS
+ mProtected(false),
mDumped(false)
#else
- mRefCount(0)
+ mProtected(false)
#endif
{
}
@@ -114,8 +114,8 @@ class Resource
private:
time_t mTimeStamp; /**< Time at which the resource was orphaned. */
+ unsigned int mRefCount; /**< Reference count. */
bool mProtected;
- unsigned mRefCount; /**< Reference count. */
#ifdef DEBUG_DUMP_LEAKS
bool mDumped;
#endif