Skip to content

Commit 986b820

Browse files
Update valueflow.cpp
1 parent 771cbcf commit 986b820

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/valueflow.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ static void valueFlowImpossibleValues(TokenList& tokenList, const Settings& sett
11691169
value.setImpossible();
11701170
setTokenValue(tok, std::move(value), settings);
11711171
} else if (tok->variable() && tok->variable()->isArray() && !tok->variable()->isArgument() &&
1172-
!tok->variable()->isStlType()) {
1172+
tok->variable()->getTypeName() != "std::array") {) {
11731173
ValueFlow::Value value{0};
11741174
value.setImpossible();
11751175
setTokenValue(tok, std::move(value), settings);

0 commit comments

Comments
 (0)