summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-09 20:25:23 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-10 17:01:12 +0200
commitee015dc915b3a43e13d2f4c76f2811b36067e835 (patch)
tree040d845cc8cc097e684c6b7a14232b512843ee9d /cppcanvas
parente21cea677e787b4580cdc14e8b8aaea35bf9574c (diff)
cid#1556058 COPY_INSTEAD_OF_MOVE
and cid#1556064 COPY_INSTEAD_OF_MOVE cid#1556066 COPY_INSTEAD_OF_MOVE cid#1556072 COPY_INSTEAD_OF_MOVE cid#1556075 COPY_INSTEAD_OF_MOVE cid#1556077 COPY_INSTEAD_OF_MOVE Change-Id: Ie2992d321ecff15f104547e3a3cad6e8c1a786a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171708 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index b62aa6ac90d0..0577813318b9 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -370,7 +370,7 @@ namespace cppcanvas::internal
aCalculatedNewState.pushFlags = rNewState.pushFlags;
// flush to stack
- getState() = aCalculatedNewState;
+ getState() = std::move(aCalculatedNewState);
}
else
{