fix ProtocolMessage operator= rvalue

This commit is contained in:
XieHan
2021-01-29 00:50:21 +08:00
parent 8ff8b5f207
commit b415e08d7b
+1
View File
@@ -101,6 +101,7 @@ public:
{
this->size_limit = msg.size_limit;
msg.size_limit = (size_t)-1;
delete this->attachment;
this->attachment = msg.attachment;
msg.attachment = NULL;
}