From 4041d87c348dd781f1b1f7a75ca35b7af42bb8b1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Nov 2022 11:59:59 +0100 Subject: [PATCH] lib/nfs/Cancellable: use IntrusiveList instead of boost::intrusive::list --- src/lib/nfs/Cancellable.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/nfs/Cancellable.hxx b/src/lib/nfs/Cancellable.hxx index 7a3cb8e3e..3aa71bf4d 100644 --- a/src/lib/nfs/Cancellable.hxx +++ b/src/lib/nfs/Cancellable.hxx @@ -20,14 +20,15 @@ #ifndef MPD_NFS_CANCELLABLE_HXX #define MPD_NFS_CANCELLABLE_HXX -#include +#include "util/IntrusiveList.hxx" #include #include template class CancellablePointer - : public boost::intrusive::list_base_hook> { + : public IntrusiveListHook +{ public: typedef T *pointer; typedef T &reference; @@ -69,8 +70,7 @@ public: typedef typename CT::const_reference const_reference; private: - typedef boost::intrusive::list> List; + using List = IntrusiveList; typedef typename List::iterator iterator; typedef typename List::const_iterator const_iterator; List list;