diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-03 22:44:39 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-05-05 07:59:13 +1000 |
| commit | 7a841dcca7b3f28160069b0df6de860aeac9576d (patch) | |
| tree | 399a86599df6f7277c3759f001839a2b538f0dbb /src | |
| parent | da1d78a3c2f20de6b43c88839627573cec2fda17 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
