operator = should return reference to self

This commit is contained in:
Dainis Jonitis 2015-08-18 16:56:35 +03:00
parent 90f7b9c732
commit c61446b988

View File

@ -72,6 +72,8 @@ public:
other.m_size = other.m_alloc = 0;
other.m_data = nullptr;
return *this;
}
#endif // !defined(MSGPACK_USE_CPP03)