summaryrefslogtreecommitdiffstats
path: root/src/animation/frontend/qmorphinganimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/frontend/qmorphinganimation.cpp')
-rw-r--r--src/animation/frontend/qmorphinganimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/frontend/qmorphinganimation.cpp b/src/animation/frontend/qmorphinganimation.cpp
index e8f440c45..3824b8d64 100644
--- a/src/animation/frontend/qmorphinganimation.cpp
+++ b/src/animation/frontend/qmorphinganimation.cpp
@@ -179,7 +179,7 @@ QMorphingAnimationPrivate::QMorphingAnimationPrivate()
QMorphingAnimationPrivate::~QMorphingAnimationPrivate()
{
- for (QVector<float> *weights : m_weights)
+ for (QVector<float> *weights : qAsConst(m_weights))
delete weights;
}