From 4d8b97711684c66338c629500ea650c3d1a6802f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 22:41:01 +0300 Subject: move bools in resource. --- src/resources/resource.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources/resource.h') 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 -- cgit v1.2.3-70-g09d2