Open ursg opened 4 months ago
Same fix for line 9622?
Ah, good catch.
so would std::remove_if()
work in order to not require C++20 as that isn't yet available on all our platforms?
Right, std::erase_if()
should just be shorthand for erase-remove.
This is one of those "how did this ever work" crashes? Instead of iterating through a container while modifying it, use std::erase_if.