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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index f90890e19..e9f7e0531 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -110,7 +110,9 @@ class Resource notfinal : public MemoryCounter
{ mDumped = n; }
#endif // DEBUG_DUMP_LEAKS
+#ifndef UNITTESTS
protected:
+#endif // UNITTESTS
/**
* Destructor.
*/