From 6d894a1806629d911d9c6caca6442b504988bb3b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 30 Oct 2020 15:24:05 +0100 Subject: [PATCH] event/WinSelect: use SOCKET as std::unordered_map key --- src/event/WinSelectBackend.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/WinSelectBackend.hxx b/src/event/WinSelectBackend.hxx index b55478765..462bd98ad 100644 --- a/src/event/WinSelectBackend.hxx +++ b/src/event/WinSelectBackend.hxx @@ -97,7 +97,7 @@ class WinSelectBackend }; SocketSet event_set[2]; - std::unordered_map items; + std::unordered_map items; bool CanModify(Item &item, unsigned events, int event_id) const noexcept;