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

This commit is contained in:
Max Kellermann 2020-10-30 15:24:05 +01:00
parent bb99cf37e3
commit 6d894a1806
1 changed files with 1 additions and 1 deletions

View File

@ -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;