From ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 12:10:50 +0100 Subject: Remove the remaining bits of stdalgo to utility/container. --- src/listmode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/listmode.cpp') diff --git a/src/listmode.cpp b/src/listmode.cpp index dbbffc2f3..4d5de7d95 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -22,6 +22,7 @@ #include "inspircd.h" #include "listmode.h" +#include "utility/container.h" ListModeBase::ListModeBase(const WeakModulePtr& Creator, const std::string& Name, char modechar, unsigned int lnum, unsigned int eolnum, bool am) : ModeHandler(Creator, Name, modechar, PARAM_ALWAYS, MODETYPE_CHANNEL, MC_LIST) @@ -214,7 +215,7 @@ bool ListModeBase::OnModeChange(User* source, User*, Channel* channel, Modes::Ch continue; // Doesn't match the proposed removal. change.param = it->mask; - stdalgo::vector::swaperase(cd->list, it); + insp::swap_erase(cd->list, it); return true; } } -- cgit v1.3.1-10-gc9f91