src/checkstl.cpp(stlBoundries): simplify condition.
No functional change.
This commit is contained in:
parent
8b0c1daf98
commit
9bf80cb53b
|
@ -396,7 +396,7 @@ void CheckStl::stlBoundries()
|
|||
break;
|
||||
--indentlevel;
|
||||
}
|
||||
else if (tok2->varId() == iteratorid && tok2->next() && tok2->next()->str() == "<")
|
||||
else if (Token::Match(tok2, "%varid% <", iteratorid))
|
||||
{
|
||||
stlBoundriesError(tok2, container_name);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue