summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
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(