mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-12 19:37:13 +01:00
operator = should return reference to self
This commit is contained in:
@@ -72,6 +72,8 @@ public:
|
||||
|
||||
other.m_size = other.m_alloc = 0;
|
||||
other.m_data = nullptr;
|
||||
|
||||
return *this;
|
||||
}
|
||||
#endif // !defined(MSGPACK_USE_CPP03)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user