summaryrefslogtreecommitdiffstats
path: root/src/core/resources/qframeallocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/resources/qframeallocator.h')
-rw-r--r--src/core/resources/qframeallocator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/resources/qframeallocator.h b/src/core/resources/qframeallocator.h
index 26b31919a..91c8c1c5f 100644
--- a/src/core/resources/qframeallocator.h
+++ b/src/core/resources/qframeallocator.h
@@ -44,6 +44,7 @@
#endif
#include <QDebug>
+#include <QScopedPointer>
#include <QVector>
#include <Qt3DCore/qt3dcore_global.h>
@@ -86,7 +87,7 @@ public:
private:
Q_DECLARE_PRIVATE(QFrameAllocator)
- QFrameAllocatorPrivate *d_ptr;
+ const QScopedPointer<QFrameAllocatorPrivate> d_ptr;
};
} // Qt3D