event/MultiSocketMonitor: add struct SingleFD
Prepare for migrating away from GLib.
This commit is contained in:
@@ -74,7 +74,7 @@ MultiSocketMonitor::Check() const
|
||||
return true;
|
||||
|
||||
for (const auto &i : fds)
|
||||
if (i.revents != 0)
|
||||
if (i.GetReturnedEvents() != 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user