diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-03 21:37:38 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-03 21:37:38 +0200 |
commit | 3610f554793cab307e4397ae66c4d1ee43165813 (patch) | |
tree | 165d327ef7d5dd8a33ce2cffec3ecd2ac851bc0f /src/client/Client.hxx | |
parent | 6db84852ae24f961bcdf1fe341b5e7f1dc6525ae (diff) |
client/Write: add `noexcept`
Diffstat (limited to 'src/client/Client.hxx')
-rw-r--r-- | src/client/Client.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx index 74a423149..8f55c43c4 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -124,12 +124,12 @@ public: void Close() noexcept; void SetExpired() noexcept; - bool Write(const void *data, size_t length); + bool Write(const void *data, size_t length) noexcept; /** * Write a null-terminated string. */ - bool Write(const char *data); + bool Write(const char *data) noexcept; /** * returns the uid of the client process, or a negative value |