mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
ircd:Ⓜ️:fetch: Declare lt operators above request set.
This commit is contained in:
parent
c95d1e56ee
commit
67f6a36b3f
1 changed files with 4 additions and 4 deletions
|
@ -14,6 +14,10 @@ namespace ircd::m::fetch
|
|||
struct request; // m/fetch.h
|
||||
struct evaltab;
|
||||
|
||||
static bool operator<(const request &a, const request &b) noexcept;
|
||||
static bool operator<(const request &a, const string_view &b) noexcept;
|
||||
static bool operator<(const string_view &a, const request &b) noexcept;
|
||||
|
||||
extern ctx::dock dock;
|
||||
extern std::set<request, std::less<>> requests;
|
||||
extern std::multimap<room::id, request *> rooms;
|
||||
|
@ -27,10 +31,6 @@ namespace ircd::m::fetch
|
|||
extern conf::item<bool> enable;
|
||||
extern log::log log;
|
||||
|
||||
static bool operator<(const request &a, const request &b) noexcept;
|
||||
static bool operator<(const request &a, const string_view &b) noexcept;
|
||||
static bool operator<(const string_view &a, const request &b) noexcept;
|
||||
|
||||
static bool timedout(const request &, const time_t &now);
|
||||
static string_view select_origin(request &, const string_view &);
|
||||
static string_view select_random_origin(request &);
|
||||
|
|
Loading…
Reference in a new issue