diff options
Diffstat (limited to 'src/client/Write.cxx')
-rw-r--r-- | src/client/Write.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Write.cxx b/src/client/Write.cxx index 9bc3ec0c4..32ff0a240 100644 --- a/src/client/Write.cxx +++ b/src/client/Write.cxx @@ -22,14 +22,14 @@ #include <string.h> bool -Client::Write(const void *data, size_t length) +Client::Write(const void *data, size_t length) noexcept { /* if the client is going to be closed, do nothing */ return !IsExpired() && FullyBufferedSocket::Write(data, length); } bool -Client::Write(const char *data) +Client::Write(const char *data) noexcept { return Write(data, strlen(data)); } |