diff options
| author | 2026-04-04 12:10:50 +0100 | |
|---|---|---|
| committer | 2026-04-04 12:32:00 +0100 | |
| commit | ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f (patch) | |
| tree | 96f67982d63c354a33295997c828fb79462120e6 /modules/callerid.cpp | |
| parent | Rename utility/map to container and prefix the difference method. (diff) | |
Remove the remaining bits of stdalgo to utility/container.
Diffstat (limited to 'modules/callerid.cpp')
| -rw-r--r-- | modules/callerid.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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"); |
