summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/animation/frontend/qanimationclipdata.h3
-rw-r--r--src/animation/frontend/qchannel.h3
-rw-r--r--src/animation/frontend/qchannelcomponent.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/animation/frontend/qanimationclipdata.h b/src/animation/frontend/qanimationclipdata.h
index 11798b373..95804447d 100644
--- a/src/animation/frontend/qanimationclipdata.h
+++ b/src/animation/frontend/qanimationclipdata.h
@@ -43,6 +43,7 @@
#include <QtCore/qmetatype.h>
#include <QtCore/qscopedpointer.h>
#include <QtCore/qstring.h>
+#include <QtCore/qvector.h>
#include <Qt3DAnimation/qt3danimation_global.h>
#include <Qt3DAnimation/qchannel.h>
@@ -76,7 +77,7 @@ public:
bool isValid() const noexcept;
// Iterator API
- typedef const QChannel *const_iterator;
+ typedef QVector<QChannel>::const_iterator const_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
const_iterator begin() const noexcept;
diff --git a/src/animation/frontend/qchannel.h b/src/animation/frontend/qchannel.h
index 463cb21e2..b551a1483 100644
--- a/src/animation/frontend/qchannel.h
+++ b/src/animation/frontend/qchannel.h
@@ -42,6 +42,7 @@
#include <QtCore/qscopedpointer.h>
#include <QtCore/qstring.h>
+#include <QtCore/qvector.h>
#include <Qt3DAnimation/qt3danimation_global.h>
#include <Qt3DAnimation/qchannelcomponent.h>
@@ -73,7 +74,7 @@ public:
void clearChannelComponents();
// Iterator API
- typedef const QChannelComponent *const_iterator;
+ typedef QVector<QChannelComponent>::const_iterator const_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
const_iterator begin() const noexcept;
diff --git a/src/animation/frontend/qchannelcomponent.h b/src/animation/frontend/qchannelcomponent.h
index fe9e73ed1..21961c14f 100644
--- a/src/animation/frontend/qchannelcomponent.h
+++ b/src/animation/frontend/qchannelcomponent.h
@@ -42,6 +42,7 @@
#include <QtCore/qscopedpointer.h>
#include <QtCore/qstring.h>
+#include <QtCore/qvector.h>
#include <Qt3DAnimation/qt3danimation_global.h>
#include <Qt3DAnimation/qkeyframe.h>
@@ -70,7 +71,7 @@ public:
void clearKeyFrames();
// Iterator API
- typedef const QKeyFrame *const_iterator;
+ typedef QVector<QKeyFrame>::const_iterator const_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
const_iterator begin() const noexcept;