Merge pull request #1044 from orbitcowboy/master
tokenize: simplify empty string creation string("")->string().
This commit is contained in:
commit
5b145c3ef6
|
@ -6473,7 +6473,7 @@ bool Tokenizer::simplifyKnownVariables()
|
|||
|
||||
const std::string structname = Token::Match(tok2->tokAt(-3), "[;{}] %name% .") ?
|
||||
std::string(tok2->strAt(-2) + " .") :
|
||||
std::string("");
|
||||
std::string();
|
||||
|
||||
const Token * const valueToken = tok2->tokAt(2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue