Skip to content

Commit 274d2f0

Browse files
Update astutils.cpp
1 parent 47f26cc commit 274d2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/astutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2619,7 +2619,7 @@ bool isVariableChangedByFunctionCall(const Token *tok, int indirect, const Setti
26192619

26202620
static bool hasOverloadedMemberAccess(const Token* tok)
26212621
{
2622-
if (!Token::simpleMatch(tok, ".))
2622+
if (!Token::simpleMatch(tok, "."))
26232623
return false;
26242624
const Token* varTok = tok->astOperand2();
26252625
return !varTok || !varTok->variable() || !varTok->variable()->valueType() || varTok->variable()->valueType()->pointer == 0;

0 commit comments

Comments
 (0)