From 5dd92c538806c13cc26a68ee23756e3f92f04200 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 25 Aug 2024 17:17:11 +0100 Subject: Replace stalgo::erase with C++20 std::erase. --- modules/ircv3_batch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/ircv3_batch.cpp') diff --git a/modules/ircv3_batch.cpp b/modules/ircv3_batch.cpp index b3be91fcb..76e4074e7 100644 --- a/modules/ircv3_batch.cpp +++ b/modules/ircv3_batch.cpp @@ -175,7 +175,7 @@ public: } // erase() not swaperase because the reftag generation logic depends on the order of the elements - stdalgo::erase(active_batches, &batch); + std::erase(active_batches, &batch); delete batch.batchinfo; batch.batchinfo = nullptr; } -- cgit v1.3.1-10-gc9f91