summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-27 21:00:08 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-28 18:36:01 +0200
commit329e913b0b82875a9f2f427cf1fae9e7f90b021a (patch)
tree5ac3864a9b66602984d35236cf7491d3dd88583e /cppuhelper
parentb707ca9651a3d1b679b81b7d2aec1baf3d596090 (diff)
cid#1556624 COPY_INSTEAD_OF_MOVE
and cid#1556622 COPY_INSTEAD_OF_MOVE cid#1556629 COPY_INSTEAD_OF_MOVE cid#1556632 COPY_INSTEAD_OF_MOVE cid#1556634 COPY_INSTEAD_OF_MOVE cid#1556642 COPY_INSTEAD_OF_MOVE cid#1556644 COPY_INSTEAD_OF_MOVE cid#1556663 COPY_INSTEAD_OF_MOVE cid#1556674 COPY_INSTEAD_OF_MOVE cid#1556682 COPY_INSTEAD_OF_MOVE cid#1556683 COPY_INSTEAD_OF_MOVE cid#1556685 COPY_INSTEAD_OF_MOVE cid#1556694 COPY_INSTEAD_OF_MOVE cid#1556708 COPY_INSTEAD_OF_MOVE cid#1556711 COPY_INSTEAD_OF_MOVE cid#1556712 COPY_INSTEAD_OF_MOVE cid#1556714 COPY_INSTEAD_OF_MOVE cid#1556719 COPY_INSTEAD_OF_MOVE cid#1556727 COPY_INSTEAD_OF_MOVE cid#1556744 COPY_INSTEAD_OF_MOVE cid#1556757 COPY_INSTEAD_OF_MOVE cid#1556782 COPY_INSTEAD_OF_MOVE cid#1556784 COPY_INSTEAD_OF_MOVE Change-Id: I5d5bc884cd7351a81c18b35aaf4e304256242988 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171128 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index c1a66ae66704..afc96beaa76c 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -205,7 +205,7 @@ cppuhelper::WrapperConstructorFn mapConstructorFn(
u"cannot get mappings"_ustr,
css::uno::Reference<css::uno::XInterface>());
}
- return [mapFrom, mapTo, target, constructorFunction]
+ return [mapFrom=std::move(mapFrom), mapTo=std::move(mapTo), target, constructorFunction]
(css::uno::XComponentContext *const context, css::uno::Sequence<css::uno::Any> const& args)
{
void *const ctxt = mapTo.mapInterface(