diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-06 15:53:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-06 19:37:44 +0200 |
commit | e0117eff7f16277e7d6df18be60a6d6138b8611c (patch) | |
tree | 3742f70690118a9e977c3f3483bdb7cdf83216a4 /basegfx/source | |
parent | f25d0deaa71f7e48f2f0255150ae62fe76ce6835 (diff) |
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/source')
-rw-r--r-- | basegfx/source/tools/keystoplerp.cxx | 4 |
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); |