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.
This commit is contained in:
Maxime Coste 2018-05-03 22:44:39 +10:00
parent da1d78a3c2
commit 7a841dcca7

View File

@ -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));