diff options
| author | 2024-08-25 17:17:11 +0100 | |
|---|---|---|
| committer | 2024-08-25 17:17:11 +0100 | |
| commit | 5dd92c538806c13cc26a68ee23756e3f92f04200 (patch) | |
| tree | 032fe63901c2ef31f705fdbcdb0a287c3b932f1d /modules/helpmode.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Replace stalgo::erase with C++20 std::erase.
Diffstat (limited to 'modules/helpmode.cpp')
| -rw-r--r-- | modules/helpmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/helpmode.cpp b/modules/helpmode.cpp index 358cba400..a4103f730 100644 --- a/modules/helpmode.cpp +++ b/modules/helpmode.cpp @@ -41,7 +41,7 @@ public: if (change.adding) helpers.push_back(dest); else - stdalgo::erase(helpers, dest); + std::erase(helpers, dest); return true; } @@ -117,7 +117,7 @@ public: void OnUserQuit(User* user, const std::string& message, const std::string& opermessage) override { if (user->IsModeSet(helpop)) - stdalgo::erase(helpop.helpers, user); + std::erase(helpop.helpers, user); } void OnWhois(Whois::Context& whois) override |
