summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-20 18:32:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-20 18:32:46 +0300
commit6e2c26e53bda22a10994fe3940fddde7ea548089 (patch)
treec3746f4fb52f085fbbaaf7d4a92f4ea8cd825581 /src/resources/resource.h
parentcf772ab6f9fdfe1647b9b7b79aab685ebc831f31 (diff)
downloadplus-6e2c26e53bda22a10994fe3940fddde7ea548089.tar.gz
plus-6e2c26e53bda22a10994fe3940fddde7ea548089.tar.bz2
plus-6e2c26e53bda22a10994fe3940fddde7ea548089.tar.xz
plus-6e2c26e53bda22a10994fe3940fddde7ea548089.zip
Fix all left leaks in tests.
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.
*/