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. --- modules/callerid.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/callerid.cpp') diff --git a/modules/callerid.cpp b/modules/callerid.cpp index ccbf70862..ceb10b03f 100644 --- a/modules/callerid.cpp +++ b/modules/callerid.cpp @@ -33,6 +33,7 @@ #include "modules/ctctags.h" #include "modules/isupport.h" #include "numerichelper.h" +#include "utility/container.h" enum { @@ -154,7 +155,7 @@ struct CallerIDExtInfo final continue; // shouldn't happen, but oh well. } - if (!stdalgo::vector::swaperase(target->wholistsme, dat.get())) + if (!insp::swap_erase(target->wholistsme, dat.get())) ServerInstance->Logs.Debug(MODNAME, "BUG: Inconsistency detected in callerid state, please report (2)"); } } @@ -329,7 +330,7 @@ public: return false; } - if (!stdalgo::vector::swaperase(dat2->wholistsme, dat)) + if (!insp::swap_erase(dat2->wholistsme, dat)) ServerInstance->Logs.Debug(MODNAME, "BUG: Inconsistency detected in callerid state, please report (4)"); user->WriteNotice(whotoremove->nick + " is no longer on your accept list"); -- cgit v1.3.1-10-gc9f91