From 305ed94561581f127cc5f8a168c204bbb5a8f36d Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 20 Nov 2020 23:06:21 +0800 Subject: [PATCH] Fix --- nel/include/nel/net/message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nel/include/nel/net/message.h b/nel/include/nel/net/message.h index a11ded5fb..7f9f7879e 100644 --- a/nel/include/nel/net/message.h +++ b/nel/include/nel/net/message.h @@ -94,7 +94,7 @@ public: #ifdef NL_CPP14 /// Move operator - CMessage &operator=(CMessage &&other) noexcept { swap(other); } + CMessage &operator=(CMessage &&other) noexcept { swap(other); return *this; } #endif /// Sets the message type as a string and put it in the buffer if we are in writing mode