summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/animationclip_p.h
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2017-05-01 14:00:48 +0100
committerMike Krus <mike.krus@kdab.com>2017-05-02 08:46:49 +0000
commitcb7dbc2e40f8258e92a79e8ac46d99a3b65c2a8c (patch)
tree53eeee700df4324e2a33b2f82ba64eabef3bb829 /src/animation/backend/animationclip_p.h
parent1cf81a67af6540d496439deeb43dab4028ff4bfb (diff)
Add missing reference in range-for with non trivial type (clazy reports)
Change-Id: Ib014b4ad7adc6604e600afc489e3dafaf0e299c1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/animation/backend/animationclip_p.h')
-rw-r--r--src/animation/backend/animationclip_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/animationclip_p.h b/src/animation/backend/animationclip_p.h
index 286ec38c0..7ff79c01a 100644
--- a/src/animation/backend/animationclip_p.h
+++ b/src/animation/backend/animationclip_p.h
@@ -127,7 +127,7 @@ inline QDebug operator<<(QDebug dbg, const AnimationClip &animationClip)
<< "Channels:" << endl;
const QVector<Channel> channels = animationClip.channels();
- for (const auto channel : channels) {
+ for (const auto &channel : channels) {
dbg << channel;
}