summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index c0ea7ca23..1b62c0206 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -39,11 +39,14 @@ class Resource
/**
* Constructor
*/
- Resource(): mRefCount(0)
- {
+ Resource() :
#ifdef DEBUG_DUMP_LEAKS
- mDumped = false;
+ mRefCount(0),
+ mDumped(false)
+#else
+ mRefCount(0)
#endif
+ {
}
/**