[Libreoffice-commits] online.git: net/Socket.hpp
Miklos Vajna
vmiklos at collabora.co.uk
Wed Jun 21 07:07:45 UTC 2017
net/Socket.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ffbe55adb530813acd640faaa55f85f00c570080
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Jun 21 09:05:42 2017 +0200
SocketDisposition::setMove(): parameter is passed by value, move it
Change-Id: I2c7facfc4fc5422cef886c6ba28ac60c656a908e
diff --git a/net/Socket.hpp b/net/Socket.hpp
index 4c410d23..d1d3018d 100644
--- a/net/Socket.hpp
+++ b/net/Socket.hpp
@@ -74,7 +74,7 @@ public:
}
void setMove(MoveFunction moveFn)
{
- _socketMove = moveFn;
+ _socketMove = std::move(moveFn);
_disposition = Type::MOVE;
}
void setClosed()
More information about the Libreoffice-commits
mailing list