Skip to content

Commit

Permalink
Merge pull request #581 from Teebonne/patch-1
Browse files Browse the repository at this point in the history
Fixes warning noexcept
  • Loading branch information
gummif committed Oct 16, 2022
2 parents d96155c + 6020e1a commit c66fc60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zmq_addon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ class multipart_t
multipart_t(message_t &&message) { add(std::move(message)); }

// Move constructor
multipart_t(multipart_t &&other) { m_parts = std::move(other.m_parts); }
multipart_t(multipart_t &&other) ZMQ_NOTHROW { m_parts = std::move(other.m_parts); }

// Move assignment operator
multipart_t &operator=(multipart_t &&other)
multipart_t &operator=(multipart_t &&other) ZMQ_NOTHROW
{
m_parts = std::move(other.m_parts);
return *this;
Expand Down

0 comments on commit c66fc60

Please sign in to comment.