Skip to content

Commit

Permalink
Fix copy-paste-error
Browse files Browse the repository at this point in the history
  • Loading branch information
markhermeling committed Sep 13, 2023
1 parent a87e9e1 commit adb726b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5613,7 +5613,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const
}
const Token* valuetok = arguments[j];
if (valuetok->str() == "::") {
const Token* rml = nextAfterAstRightmostLeaf(vartok);
const Token* rml = nextAfterAstRightmostLeaf(valuetok);
if (rml)
valuetok = rml->previous();
}
Expand Down

0 comments on commit adb726b

Please sign in to comment.