Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Sep 13, 2023
1 parent 4487578 commit f6a9723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3238,7 +3238,7 @@ bool Tokenizer::simplifyUsing()

// Is this a "T()" expression where T is a pointer type?
if (Token::Match(tok1, "%name% ( )") && !pointers.empty()) {
auto tok2 = tok1->linkAt(1);
Token* tok2 = tok1->linkAt(1);
tok1->deleteThis();
TokenList::copyTokens(tok1, start, usingEnd->previous());
tok2->insertToken("0");
Expand Down

0 comments on commit f6a9723

Please sign in to comment.