From 6020e1ab36be4df2b0409f5528cd78e4bae734c9 Mon Sep 17 00:00:00 2001 From: Teebonne <80053070+Teebonne@users.noreply.github.com> Date: Sat, 15 Oct 2022 16:04:08 +0100 Subject: [PATCH] ZMQ_NOTHROW for compatibility --- zmq_addon.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zmq_addon.hpp b/zmq_addon.hpp index 9db2212..958eec5 100644 --- a/zmq_addon.hpp +++ b/zmq_addon.hpp @@ -343,10 +343,10 @@ class multipart_t multipart_t(message_t &&message) { add(std::move(message)); } // 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 - multipart_t &operator=(multipart_t &&other) noexcept + multipart_t &operator=(multipart_t &&other) ZMQ_NOTHROW { m_parts = std::move(other.m_parts); return *this;