fix ProtoMessage move operator

This commit is contained in:
XieHan
2021-01-29 00:44:13 +08:00
parent aadbe49aa6
commit cb558290ad
+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;
}