diff options
Diffstat (limited to 'sfx2/source/notify/hintpost.cxx')
-rw-r--r-- | sfx2/source/notify/hintpost.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/notify/hintpost.cxx b/sfx2/source/notify/hintpost.cxx index 446c7a954ba9..aa125d212943 100644 --- a/sfx2/source/notify/hintpost.cxx +++ b/sfx2/source/notify/hintpost.cxx @@ -20,10 +20,11 @@ #include <hintpost.hxx> #include <sfx2/request.hxx> +#include <utility> #include <vcl/svapp.hxx> -SfxHintPoster::SfxHintPoster(const std::function<void(std::unique_ptr<SfxRequest>)>& rLink) - : m_Link(rLink) +SfxHintPoster::SfxHintPoster(std::function<void(std::unique_ptr<SfxRequest>)> aLink) + : m_Link(std::move(aLink)) { } |