summaryrefslogtreecommitdiffstats
path: root/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 15:53:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 19:37:44 +0200
commite0117eff7f16277e7d6df18be60a6d6138b8611c (patch)
tree3742f70690118a9e977c3f3483bdb7cdf83216a4 /basegfx
parentUpdate git submodules (diff)
downloadcore-e0117eff7f16277e7d6df18be60a6d6138b8611c.tar.gz
core-e0117eff7f16277e7d6df18be60a6d6138b8611c.zip
loplugin:moveparam in basegfx
Change-Id: I68d0de099641ae5b2ae92f46e86bdf4a43c468a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123141 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/tools/keystoplerp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/tools/keystoplerp.cxx b/basegfx/source/tools/keystoplerp.cxx
index 0610dd19c228..e5d0d76304e2 100644
--- a/basegfx/source/tools/keystoplerp.cxx
+++ b/basegfx/source/tools/keystoplerp.cxx
@@ -42,8 +42,8 @@ static void validateInput(const std::vector<double>& rKeyStops)
namespace basegfx::utils
{
- KeyStopLerp::KeyStopLerp( const std::vector<double>& rKeyStops ) :
- maKeyStops(rKeyStops),
+ KeyStopLerp::KeyStopLerp( std::vector<double>&& rKeyStops ) :
+ maKeyStops(std::move(rKeyStops)),
mnLastIndex(0)
{
validateInput(maKeyStops);