From 0fbed6dec13cc3f431c011a3ac30f57412c41a10 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 18 Jan 2024 15:31:57 +0100 Subject: [PATCH] net/SocketDescriptor: remove misplaced [[nodiscard]] --- src/net/SocketDescriptor.hxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net/SocketDescriptor.hxx b/src/net/SocketDescriptor.hxx index 0aeb50fe7..94c59c34d 100644 --- a/src/net/SocketDescriptor.hxx +++ b/src/net/SocketDescriptor.hxx @@ -146,7 +146,6 @@ public: return fd; } - [[nodiscard]] constexpr void Set(SOCKET _fd) noexcept { fd = _fd; }