src/checkstl.cpp(iterators): fixed coding mistake.

This commit is contained in:
Slava Semushin 2009-07-30 23:37:39 +07:00
parent c9b34706f9
commit 46a386ba83
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}