[Libreoffice-commits] online.git: loolwsd/QueueHandler.hpp
Miklos Vajna
vmiklos at collabora.co.uk
Thu Aug 18 06:19:18 UTC 2016
loolwsd/QueueHandler.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f85dcba905a5afa61255732d2467724ae7c49261
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Aug 18 08:18:54 2016 +0200
QueueHandler: use std::move()
Change-Id: I849a273a68986fb665dc7c1d03c54fd7dcf9b488
diff --git a/loolwsd/QueueHandler.hpp b/loolwsd/QueueHandler.hpp
index 431279a..8c6cca3 100644
--- a/loolwsd/QueueHandler.hpp
+++ b/loolwsd/QueueHandler.hpp
@@ -21,7 +21,7 @@ public:
QueueHandler(std::shared_ptr<MessageQueue> queue,
const std::shared_ptr<LOOLSession>& session,
const std::string& name):
- _queue(queue),
+ _queue(std::move(queue)),
_session(session),
_name(name)
{
More information about the Libreoffice-commits
mailing list