From e820222c5be199a05585959229ada53187a5cffd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Nov 2022 12:06:53 +0100 Subject: [PATCH] lib/nfs/Manager: use IntrusiveForwardList instead of boost::intrusive::slist --- src/lib/nfs/Manager.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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