From 173405a343a5bb58cb65fa38c15adda7ca09cde6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Dec 2020 15:14:36 +0100 Subject: [PATCH] event/SocketEvent: make Dispatch() private --- src/event/SocketEvent.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/event/SocketEvent.hxx b/src/event/SocketEvent.hxx index 17365b14a..f52ed53ed 100644 --- a/src/event/SocketEvent.hxx +++ b/src/event/SocketEvent.hxx @@ -44,7 +44,8 @@ class EventLoop; * thread that runs the #EventLoop, except where explicitly documented * as thread-safe. */ -class SocketEvent final : IntrusiveListHook, public EventPollBackendEvents { +class SocketEvent final : IntrusiveListHook, public EventPollBackendEvents +{ friend class EventLoop; friend class IntrusiveList; @@ -177,7 +178,7 @@ public: return GetScheduledFlags() & WRITE; } -public: +private: void Dispatch() noexcept; };