From 76497bd5f78898fa50efe39ff8c8af464359cdae Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 6 Apr 2023 10:22:47 +0200 Subject: [PATCH] util/IntrusiveSortedList, event/TimerList: include cleanup --- src/event/TimerList.cxx | 6 +----- src/util/IntrusiveSortedList.hxx | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/event/TimerList.cxx b/src/event/TimerList.cxx index a5b19a577..9d3ab9a3f 100644 --- a/src/event/TimerList.cxx +++ b/src/event/TimerList.cxx @@ -2,13 +2,9 @@ // Copyright CM4all GmbH // author: Max Kellermann -#include "Loop.hxx" +#include "TimerList.hxx" #include "FineTimerEvent.hxx" -#ifdef NO_BOOST -#include -#endif - constexpr bool TimerList::Compare::operator()(const FineTimerEvent &a, const FineTimerEvent &b) const noexcept diff --git a/src/util/IntrusiveSortedList.hxx b/src/util/IntrusiveSortedList.hxx index 19e9f482e..cd029aa52 100644 --- a/src/util/IntrusiveSortedList.hxx +++ b/src/util/IntrusiveSortedList.hxx @@ -5,6 +5,8 @@ #include "IntrusiveList.hxx" +#include // for std::find_if() + /** * A variant of #IntrusiveList which is sorted automatically. There * are obvious scalability problems with this approach, so use with