net/Socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ffbe55adb530813acd640faaa55f85f00c570080 Author: Miklos Vajna <vmik...@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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits