Use more starts_with

This commit is contained in:
Eladash 2020-02-29 07:29:28 +02:00 committed by Ivan
parent d7dd4897f8
commit 8762f2a588
4 changed files with 4 additions and 4 deletions

View file

@ -166,7 +166,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
{
for (const ParamItem &PI : PT.items)
{
if (PI.name.substr(0, 7) == "dst_reg")
if (PI.name.starts_with("dst_reg"))
continue;
OS << " " << PT.type << " " << PI.name;