[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 16 07:14:33 UTC 2018


 wsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a959056967d354243e7eaa6c52357efc4d5adba7
Author:     Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Tue Oct 16 09:12:53 2018 +0200
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Tue Oct 16 09:14:13 2018 +0200

    wsd: unnecesary value parameter in LOOLWSD

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index e7d99b5ca..6a559f025 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -2758,7 +2758,7 @@ private:
     /// to the @clientSockets' poll when created with @factory.
     std::shared_ptr<ServerSocket> getServerSocket(ServerSocket::Type type, int port,
                                                   SocketPoll &clientSocket,
-                                                  std::shared_ptr<SocketFactory> factory)
+                                                  const std::shared_ptr<SocketFactory>& factory)
     {
         auto serverSocket = std::make_shared<ServerSocket>(
             type == ServerSocket::Type::Local ? Socket::Type::IPv4 : ClientPortProto,


More information about the Libreoffice-commits mailing list