Skip to content

Commit 1b161fa

Browse files
committed
Third parameter of std::remove prob needs to be nullptr
1 parent ab4d54c commit 1b161fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/glslang/glslang/glslang/MachineIndependent/linkValidate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ void TIntermediate::checkCallGraphBodies(TInfoSink& infoSink, bool keepUncalled)
681681
if (! reachable[f])
682682
functionSequence[f] = NULL;
683683
}
684-
functionSequence.erase(std::remove(functionSequence.begin(), functionSequence.end(), NULL), functionSequence.end());
684+
functionSequence.erase(std::remove(functionSequence.begin(), functionSequence.end(), nullptr), functionSequence.end());
685685
}
686686
}
687687

0 commit comments

Comments
 (0)