From e9f6af61f92ce4c91b68f3532ff6fbd4f4479b59 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 14 Oct 2020 14:04:57 +0200 Subject: [PATCH] event/Loop: forward-declare class {Idle,Defer}Event --- src/event/Loop.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index c7e3baf8a..15f53674f 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -24,8 +24,6 @@ #include "PollGroup.hxx" #include "WakeFD.hxx" #include "SocketMonitor.hxx" -#include "IdleEvent.hxx" -#include "DeferEvent.hxx" #include "thread/Id.hxx" #include "thread/Mutex.hxx" #include "util/Compiler.h" @@ -44,6 +42,8 @@ namespace Uring { class Queue; class Manager; } #endif class TimerEvent; +class IdleEvent; +class DeferEvent; /** * An event loop that polls for events on file/socket descriptors.