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
@@ -85,9 +85,9 @@ class RemoteTagCache final {
|
||||
|
||||
IntrusiveHashSet<
|
||||
Item, 127,
|
||||
IntrusiveHashSetOperators<std::hash<std::string_view>,
|
||||
std::equal_to<std::string_view>,
|
||||
Item::GetUri>,
|
||||
IntrusiveHashSetOperators<Item, Item::GetUri,
|
||||
std::hash<std::string_view>,
|
||||
std::equal_to<std::string_view>>,
|
||||
IntrusiveHashSetBaseHookTraits<Item>,
|
||||
IntrusiveHashSetOptions{.constant_time_size = true}> map;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user