event/SocketEvent: use class IntrusiveList<>

This commit is contained in:
Max Kellermann
2020-10-18 19:31:58 +02:00
parent a14997ffb8
commit e3270dfd68
2 changed files with 4 additions and 7 deletions

View File

@@ -91,10 +91,7 @@ class EventLoop final
DeferredList deferred;
#endif
using SocketList =
boost::intrusive::list<SocketEvent,
boost::intrusive::base_hook<boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::auto_unlink>>>,
boost::intrusive::constant_time_size<false>>;
using SocketList = IntrusiveList<SocketEvent>;
/**
* A list of scheduled #SocketEvent instances, without those