net/Socket.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 116510296e5af7180beb50314de23d468b89068a
Author: Miklos Vajna <[email protected]>
AuthorDate: Mon Oct 15 09:31:03 2018 +0200
Commit: Miklos Vajna <[email protected]>
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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits