Newer GCC versions (13 onwards) have changed the transitive includes of standard library headers causing code that previously worked "accidently" to no longer compile. In this specific case I was getting errors compiling files due to not finding std::remove. This PR adds #include <algorithm> where required to fix the issue.
Newer GCC versions (13 onwards) have changed the transitive includes of standard library headers causing code that previously worked "accidently" to no longer compile. In this specific case I was getting errors compiling files due to not finding
std::remove
. This PR adds#include <algorithm>
where required to fix the issue.