diff --git a/src/lib/nfs/Manager.hxx b/src/lib/nfs/Manager.hxx index 83200bed1..b7983a9c0 100644 --- a/src/lib/nfs/Manager.hxx +++ b/src/lib/nfs/Manager.hxx @@ -22,9 +22,9 @@ #include "Connection.hxx" #include "event/IdleEvent.hxx" +#include "util/IntrusiveForwardList.hxx" #include -#include /** * A manager for NFS connections. Handles multiple connections to @@ -38,7 +38,7 @@ class NfsManager final { class ManagedConnection final : public NfsConnection, - public boost::intrusive::slist_base_hook>, + public IntrusiveForwardListHook, public boost::intrusive::set_base_hook> { NfsManager &manager; @@ -77,7 +77,7 @@ class NfsManager final { Map connections; - typedef boost::intrusive::slist List; + using List = IntrusiveForwardList; /** * A list of "garbage" connection objects. Their destruction