util/IntrusiveSortedList, event/TimerList: include cleanup
This commit is contained in:
parent
53ec02d5e9
commit
76497bd5f7
|
@ -2,13 +2,9 @@
|
|||
// Copyright CM4all GmbH
|
||||
// author: Max Kellermann <mk@cm4all.com>
|
||||
|
||||
#include "Loop.hxx"
|
||||
#include "TimerList.hxx"
|
||||
#include "FineTimerEvent.hxx"
|
||||
|
||||
#ifdef NO_BOOST
|
||||
#include <algorithm>
|
||||
#endif
|
||||
|
||||
constexpr bool
|
||||
TimerList::Compare::operator()(const FineTimerEvent &a,
|
||||
const FineTimerEvent &b) const noexcept
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include "IntrusiveList.hxx"
|
||||
|
||||
#include <algorithm> // for std::find_if()
|
||||
|
||||
/**
|
||||
* A variant of #IntrusiveList which is sorted automatically. There
|
||||
* are obvious scalability problems with this approach, so use with
|
||||
|
|
Loading…
Reference in New Issue