diff --git a/src/RemoteTagCache.hxx b/src/RemoteTagCache.hxx index 014173bb8..b99b7624c 100644 --- a/src/RemoteTagCache.hxx +++ b/src/RemoteTagCache.hxx @@ -24,8 +24,8 @@ #include "tag/Tag.hxx" #include "event/InjectEvent.hxx" #include "thread/Mutex.hxx" +#include "util/IntrusiveList.hxx" -#include #include #include @@ -46,7 +46,7 @@ class RemoteTagCache final { struct Item final : public boost::intrusive::unordered_set_base_hook>, - public boost::intrusive::list_base_hook>, + public IntrusiveListHook, RemoteTagHandler { RemoteTagCache &parent; @@ -89,8 +89,7 @@ class RemoteTagCache final { }; }; - typedef boost::intrusive::list> ItemList; + using ItemList = IntrusiveList; /** * These items have been resolved completely (successful or