mirror of
https://github.com/sogou/workflow.git
synced 2026-10-21 22:56:42 +08:00
fix ProtoMessage move operator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user