Skip to content

Commit 99b5261

Browse files
Update checkstl.cpp
1 parent 6d288e6 commit 99b5261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/checkstl.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ static std::pair<const Token *, const Token *> isMapFind(const Token *tok)
16381638
return {};
16391639
if (!Token::simpleMatch(tok->astParent(), "=="))
16401640
return {};
1641-
if (tok->astOperand1()->strAt(1) == "count" && (!tok->astParent()->astOperand2()->hasKnownIntValue() || tok->astParent()->astOperand2()->getKnownIntValue() != 0)
1641+
if (tok->astOperand1()->strAt(1) == "count" && (!tok->astParent()->astOperand2()->hasKnownIntValue() || tok->astParent()->astOperand2()->getKnownIntValue() != 0))
16421642
return {};
16431643
return {contTok, tok->astOperand2()};
16441644
}

0 commit comments

Comments
 (0)