diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-05 13:51:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 08:33:28 +0200 |
commit | 3d604d1cd6cc70ef96782ef769f0479b509987a8 (patch) | |
tree | 068bb54b87dd46640ff752994133692551118400 /chart2/source/view | |
parent | 16afac775a048d6d57d43952c855345f47cb231f (diff) |
clang-tidy performance-move-const-arg
Change-Id: I607891e120688b746c8a4c577018d97147a79217
Reviewed-on: https://gerrit.libreoffice.org/60029
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 4b4602af7589..d9d4977d384a 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -116,11 +116,11 @@ VDataSeriesGroup::VDataSeriesGroup( std::unique_ptr<VDataSeries> pSeries ) m_aSeriesVector[0] = std::move(pSeries); } -VDataSeriesGroup::VDataSeriesGroup( VDataSeriesGroup&& other ) - : m_aSeriesVector( std::move(other.m_aSeriesVector) ) - , m_bMaxPointCountDirty( other.m_bMaxPointCountDirty ) - , m_nMaxPointCount( std::move(other.m_nMaxPointCount) ) - , m_aListOfCachedYValues( std::move(other.m_aListOfCachedYValues) ) +VDataSeriesGroup::VDataSeriesGroup(VDataSeriesGroup&& other) + : m_aSeriesVector(std::move(other.m_aSeriesVector)) + , m_bMaxPointCountDirty(other.m_bMaxPointCountDirty) + , m_nMaxPointCount(other.m_nMaxPointCount) + , m_aListOfCachedYValues(std::move(other.m_aListOfCachedYValues)) { } |