summaryrefslogtreecommitdiffstats
path: root/src/core/resources/qhandle_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/resources/qhandle_p.h')
-rw-r--r--src/core/resources/qhandle_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/resources/qhandle_p.h b/src/core/resources/qhandle_p.h
index 6952c54e3..2916d7e42 100644
--- a/src/core/resources/qhandle_p.h
+++ b/src/core/resources/qhandle_p.h
@@ -51,6 +51,8 @@
#include <Qt3DCore/qt3dcore_global.h>
#include <QtCore/QDebug>
+class tst_Handle; // needed for friend class declaration below
+
QT_BEGIN_NAMESPACE
namespace Qt3DCore {
@@ -100,6 +102,7 @@ private:
friend class QHandleManager<T, INDEXBITS>;
+ friend class ::tst_Handle;
struct Data {
quint32 m_index : IndexBits;