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

This commit is contained in:
libretroadmin 2024-05-23 07:35:52 +02:00
parent ab4d54cb70
commit 1b161fad1d

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(), NULL), functionSequence.end());
functionSequence.erase(std::remove(functionSequence.begin(), functionSequence.end(), nullptr), functionSequence.end());
}
}