event/WinSelect: use SOCKET as std::unordered_map key
This commit is contained in:
parent
bb99cf37e3
commit
6d894a1806
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue