Commit 6d894a18 authored by Max Kellermann's avatar Max Kellermann

event/WinSelect: use SOCKET as std::unordered_map key

parent bb99cf37
......@@ -97,7 +97,7 @@ class WinSelectBackend
};
SocketSet event_set[2];
std::unordered_map<int, Item> items;
std::unordered_map<SOCKET, Item> items;
bool CanModify(Item &item, unsigned events,
int event_id) const 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