util/IntrusiveList: move various static functions to struct IntrusiveListBaseHook
This commit is contained in:
committed by
Max Kellermann
parent
e8e33d5fc4
commit
5348a446a7
@@ -54,7 +54,7 @@ class EventLoop;
|
||||
class CoarseTimerEvent final : AutoUnlinkIntrusiveListHook
|
||||
{
|
||||
friend class TimerWheel;
|
||||
friend class IntrusiveList<CoarseTimerEvent>;
|
||||
friend struct IntrusiveListBaseHookTraits<CoarseTimerEvent>;
|
||||
|
||||
EventLoop &loop;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class EventLoop;
|
||||
class DeferEvent final : AutoUnlinkIntrusiveListHook
|
||||
{
|
||||
friend class EventLoop;
|
||||
friend class IntrusiveList<DeferEvent>;
|
||||
friend struct IntrusiveListBaseHookTraits<DeferEvent>;
|
||||
|
||||
EventLoop &loop;
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class EventLoop;
|
||||
class SocketEvent final : IntrusiveListHook, public EventPollBackendEvents
|
||||
{
|
||||
friend class EventLoop;
|
||||
friend class IntrusiveList<SocketEvent>;
|
||||
friend struct IntrusiveListBaseHookTraits<SocketEvent>;
|
||||
|
||||
EventLoop &loop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user