Skip to content

Commit c66fc60

Browse files
authored
Merge pull request #581 from Teebonne/patch-1
Fixes warning noexcept
2 parents d96155c + 6020e1a commit c66fc60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: zmq_addon.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,10 @@ class multipart_t
343343
multipart_t(message_t &&message) { add(std::move(message)); }
344344

345345
// Move constructor
346-
multipart_t(multipart_t &&other) { m_parts = std::move(other.m_parts); }
346+
multipart_t(multipart_t &&other) ZMQ_NOTHROW { m_parts = std::move(other.m_parts); }
347347

348348
// Move assignment operator
349-
multipart_t &operator=(multipart_t &&other)
349+
multipart_t &operator=(multipart_t &&other) ZMQ_NOTHROW
350350
{
351351
m_parts = std::move(other.m_parts);
352352
return *this;

0 commit comments

Comments
 (0)