mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
ZMQ_NOTHROW for compatibility
This commit is contained in:
parent
fa0f112ac6
commit
6020e1ab36
@ -343,10 +343,10 @@ class multipart_t
|
|||||||
multipart_t(message_t &&message) { add(std::move(message)); }
|
multipart_t(message_t &&message) { add(std::move(message)); }
|
||||||
|
|
||||||
// Move constructor
|
// Move constructor
|
||||||
multipart_t(multipart_t &&other) noexcept { m_parts = std::move(other.m_parts); }
|
multipart_t(multipart_t &&other) ZMQ_NOTHROW { m_parts = std::move(other.m_parts); }
|
||||||
|
|
||||||
// Move assignment operator
|
// Move assignment operator
|
||||||
multipart_t &operator=(multipart_t &&other) noexcept
|
multipart_t &operator=(multipart_t &&other) ZMQ_NOTHROW
|
||||||
{
|
{
|
||||||
m_parts = std::move(other.m_parts);
|
m_parts = std::move(other.m_parts);
|
||||||
return *this;
|
return *this;
|
||||||
|
Loading…
Reference in New Issue
Block a user