[Libreoffice-commits] online.git: net/Socket.hpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 15 07:31:30 UTC 2018
net/Socket.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 116510296e5af7180beb50314de23d468b89068a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Mon Oct 15 09:31:03 2018 +0200
Commit: Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Mon Oct 15 09:31:03 2018 +0200
net: unnecessary value parameter in Socket
diff --git a/net/Socket.hpp b/net/Socket.hpp
index 2c716cb43..55f041415 100644
--- a/net/Socket.hpp
+++ b/net/Socket.hpp
@@ -633,7 +633,7 @@ public:
typedef std::function<void()> CallbackFn;
/// Add a callback to be invoked in the polling thread
- void addCallback(CallbackFn fn)
+ void addCallback(const CallbackFn& fn)
{
std::lock_guard<std::mutex> lock(_mutex);
_newCallbacks.emplace_back(fn);
More information about the Libreoffice-commits
mailing list