net/SocketError: change "const" to "pure"
This commit is contained in:
parent
ca726a0110
commit
3d814115c8
@ -170,7 +170,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
[[gnu::const]]
|
||||
[[gnu::pure]]
|
||||
static inline std::system_error
|
||||
MakeSocketError(socket_error_t code, const char *msg) noexcept
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user