util/IntrusiveHashSet: add concept checks to *Operators
This requires adding another template argument and reordering the others.
This commit is contained in:
committed by
Max Kellermann
parent
91ca502e10
commit
6a99f20828
6
src/input/cache/Manager.hxx
vendored
6
src/input/cache/Manager.hxx
vendored
@@ -32,9 +32,9 @@ class InputCacheManager {
|
||||
IntrusiveList<InputCacheItem> items_by_time;
|
||||
|
||||
IntrusiveHashSet<InputCacheItem, 127,
|
||||
IntrusiveHashSetOperators<std::hash<std::string_view>,
|
||||
std::equal_to<std::string_view>,
|
||||
ItemGetUri>> items_by_uri;
|
||||
IntrusiveHashSetOperators<InputCacheItem, ItemGetUri,
|
||||
std::hash<std::string_view>,
|
||||
std::equal_to<std::string_view>>> items_by_uri;
|
||||
|
||||
public:
|
||||
explicit InputCacheManager(const InputCacheConfig &config) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user