Revert "Third parameter of std::remove prob needs to be nullptr"

This reverts commit 1b161fad1d9aa468e0916c6e5b80853d774037bd.
This commit is contained in:
libretroadmin 2024-06-15 06:21:34 +02:00
parent 6cc5c414da
commit 4db59d587e

View File

@ -681,7 +681,7 @@ void TIntermediate::checkCallGraphBodies(TInfoSink& infoSink, bool keepUncalled)
if (! reachable[f])
functionSequence[f] = NULL;
}
functionSequence.erase(std::remove(functionSequence.begin(), functionSequence.end(), nullptr), functionSequence.end());
functionSequence.erase(std::remove(functionSequence.begin(), functionSequence.end(), NULL), functionSequence.end());
}
}