aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientList.cxx')
-rw-r--r--src/client/ClientList.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/ClientList.cxx b/src/client/ClientList.cxx
index 43a35798f..375e99090 100644
--- a/src/client/ClientList.cxx
+++ b/src/client/ClientList.cxx
@@ -20,8 +20,7 @@
#include "config.h"
#include "ClientList.hxx"
#include "ClientInternal.hxx"
-
-#include <algorithm>
+#include "util/DeleteDisposer.hxx"
#include <assert.h>
@@ -36,7 +35,7 @@ ClientList::Remove(Client &client)
void
ClientList::CloseAll()
{
- list.clear_and_dispose(Client::Disposer());
+ list.clear_and_dispose(DeleteDisposer());
}
void