summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/handle/tst_handle.cpp
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2016-06-16 18:09:52 +0300
committerSean Harmer <sean.harmer@kdab.com>2016-06-20 14:33:58 +0000
commit7fab1fa65675dfd62b1ddf6fed3226e465b37b67 (patch)
tree3361cb53b0295fa342679e9254a45ef235232094 /tests/auto/core/handle/tst_handle.cpp
parent4862fea330cffdc4f9fb2972e76287487444e8b4 (diff)
Replace “#define private public” with a proper friend class declaration
Change-Id: I98a31d165367e725c902df368c9c2824439a47d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/core/handle/tst_handle.cpp')
-rw-r--r--tests/auto/core/handle/tst_handle.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/core/handle/tst_handle.cpp b/tests/auto/core/handle/tst_handle.cpp
index 9ed3a17d6..0fe760b94 100644
--- a/tests/auto/core/handle/tst_handle.cpp
+++ b/tests/auto/core/handle/tst_handle.cpp
@@ -35,10 +35,6 @@
****************************************************************************/
#include <QtTest/QtTest>
-
-// Not really clean but as the QHandle(idx, counter) is private
-// This allows to use this constructor in the tests
-#define private public
#include <Qt3DCore/private/qhandle_p.h>
#if Q_BYTE_ORDER == Q_BIG_ENDIAN