summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-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