mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-24 06:04:44 +02:00
operator = should return reference to self
This commit is contained in:
parent
90f7b9c732
commit
c61446b988
@ -72,6 +72,8 @@ public:
|
||||
|
||||
other.m_size = other.m_alloc = 0;
|
||||
other.m_data = nullptr;
|
||||
|
||||
return *this;
|
||||
}
|
||||
#endif // !defined(MSGPACK_USE_CPP03)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user