summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-04-06 13:58:31 +0200
committerMax Kellermann <max@musicpd.org>2021-04-06 13:58:32 +0200
commit3d814115c873ffef63d4f8aba49e359cfb8294c1 (patch)
treeac0cab9eede47116302863bb4c1e618a06c08f8c /src
parentca726a01105287a09eed110339e7c76774156a5e (diff)
net/SocketError: change "const" to "pure"
Diffstat (limited to 'src')
-rw-r--r--src/net/SocketError.hxx2
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
{