From 7a841dcca7b3f28160069b0df6de860aeac9576d Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 3 May 2018 22:44:39 +1000 Subject: [PATCH] Remove out of date noexcept(false) on MessageWriter destructor This made sense when the writer was trying to send the message in its destructor, but this is not the case anymore. --- src/remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote.cc b/src/remote.cc index 6a717805..c0fcf563 100644 --- a/src/remote.cc +++ b/src/remote.cc @@ -53,7 +53,7 @@ public: write((uint32_t)0); // message size, to be patched on write } - ~MsgWriter() noexcept(false) + ~MsgWriter() { uint32_t count = (uint32_t)m_buffer.size() - m_start; memcpy(m_buffer.data() + m_start + sizeof(MessageType), &count, sizeof(uint32_t));