[Libreoffice-commits] online.git: loolwsd/LOOLSession.cpp

Miklos Vajna vmiklos at collabora.co.uk
Thu Jul 21 08:20:09 UTC 2016


 loolwsd/LOOLSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5179d41521d04d1e0836bf68fecd020e341b78d5
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jul 21 10:19:39 2016 +0200

    LOOLSession: use std::move()

diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index c72ae4d..22b4df7 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -53,7 +53,7 @@ LOOLSession::LOOLSession(const std::string& id, const Kind kind,
     _kind(kind),
     _kindString(kind == Kind::ToClient ? "ToClient" :
                 kind == Kind::ToMaster ? "ToMaster" : "ToPrisoner"),
-    _ws(ws),
+    _ws(std::move(ws)),
     _docPassword(""),
     _haveDocPassword(false),
     _isDocLoaded(false),


More information about the Libreoffice-commits mailing list