util/IntrusiveList: add enum LinkMode

Compile-time code simplification.
This commit is contained in:
Max Kellermann
2022-11-12 08:52:58 +01:00
parent 3023816491
commit fb5d77158a
14 changed files with 132 additions and 81 deletions

View File

@@ -46,7 +46,7 @@ class RemoteTagCache final {
struct Item final
: public boost::intrusive::unordered_set_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>>,
public IntrusiveListHook,
public IntrusiveListHook<>,
RemoteTagHandler
{
RemoteTagCache &parent;