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;