Commit 3d814115 authored by Max Kellermann's avatar Max Kellermann

net/SocketError: change "const" to "pure"

parent ca726a01
......@@ -170,7 +170,7 @@ public:
}
};
[[gnu::const]]
[[gnu::pure]]
static inline std::system_error
MakeSocketError(socket_error_t code, const char *msg) noexcept
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment