diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/SocketError.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/SocketError.hxx b/src/net/SocketError.hxx index 8a53c6f98..7a0bfd285 100644 --- a/src/net/SocketError.hxx +++ b/src/net/SocketError.hxx @@ -170,7 +170,7 @@ public: } }; -[[gnu::const]] +[[gnu::pure]] static inline std::system_error MakeSocketError(socket_error_t code, const char *msg) noexcept { |