Commit 173405a3 authored by Max Kellermann's avatar Max Kellermann

event/SocketEvent: make Dispatch() private

parent 7bc1c992
...@@ -44,7 +44,8 @@ class EventLoop; ...@@ -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: ...@@ -177,7 +178,7 @@ public:
return GetScheduledFlags() & WRITE; return GetScheduledFlags() & WRITE;
} }
public: private:
void Dispatch() noexcept; void Dispatch() noexcept;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment