From 5f2fa1dbe3ee9f304c6909e5638df1106436af36 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Nov 2022 12:05:33 +0100 Subject: [PATCH] RemoteTagCache: use IntrusiveList instead of boost::intrusive::list --- src/RemoteTagCache.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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