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