diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-03-23 14:40:14 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-03-25 14:23:49 +0000 |
commit | 1482fe88f1e6a42add57fbe6900ed71b3972261d (patch) | |
tree | a5e7f37f754cb9330af6c96c88460947c273b112 /src/animation/backend/clipanimator_p.h | |
parent | 2d7bbb53af32f589d1740ad864fa8732c2127e0a (diff) |
Pass argument by reference and make trivial function inline
Change-Id: Ifc6897cea2f599b20bea82b00adfddbac5cc8e7f
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/animation/backend/clipanimator_p.h')
-rw-r--r-- | src/animation/backend/clipanimator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/clipanimator_p.h b/src/animation/backend/clipanimator_p.h index a616ac9cd..da9109cfb 100644 --- a/src/animation/backend/clipanimator_p.h +++ b/src/animation/backend/clipanimator_p.h @@ -81,7 +81,7 @@ public: // Called by jobs bool canRun() const { return !m_clipId.isNull() && !m_mapperId.isNull() && m_running; } - void setMappingData(const QVector<MappingData> mappingData); + void setMappingData(const QVector<MappingData> &mappingData) { m_mappingData = mappingData; } QVector<MappingData> mappingData() const { return m_mappingData; } void setStartTime(qint64 globalTime) { m_startGlobalTime = globalTime; } |