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:
parent
da1d78a3c2
commit
7a841dcca7
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue
Block a user