src/checkstl.cpp(iterators): fixed coding mistake.
This commit is contained in:
parent
c9b34706f9
commit
46a386ba83
|
@ -72,7 +72,7 @@ void CheckStl::iterators()
|
|||
else if (tok2->strAt(2) == std::string("erase"))
|
||||
validIterator = false;
|
||||
}
|
||||
else if (!validIterator && tok2->Match(tok2, "* %varid%", iteratorId))
|
||||
else if (!validIterator && Token::Match(tok2, "* %varid%", iteratorId))
|
||||
{
|
||||
dereferenceErasedError(tok2, tok2->strAt(1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue