event/SocketEvent: make Dispatch() private
This commit is contained in:
parent
7bc1c9925b
commit
173405a343
@ -44,7 +44,8 @@ class EventLoop;
|
|||||||
* thread that runs the #EventLoop, except where explicitly documented
|
* thread that runs the #EventLoop, except where explicitly documented
|
||||||
* as thread-safe.
|
* as thread-safe.
|
||||||
*/
|
*/
|
||||||
class SocketEvent final : IntrusiveListHook, public EventPollBackendEvents {
|
class SocketEvent final : IntrusiveListHook, public EventPollBackendEvents
|
||||||
|
{
|
||||||
friend class EventLoop;
|
friend class EventLoop;
|
||||||
friend class IntrusiveList<SocketEvent>;
|
friend class IntrusiveList<SocketEvent>;
|
||||||
|
|
||||||
@ -177,7 +178,7 @@ public:
|
|||||||
return GetScheduledFlags() & WRITE;
|
return GetScheduledFlags() & WRITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
private:
|
||||||
void Dispatch() noexcept;
|
void Dispatch() noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user