[clang-tidy] Cast integer to string
Found with bugprone-string-integer-assignment Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Paul Beckingham
parent
68c446ea08
commit
da75c159ca
@@ -1420,7 +1420,7 @@ bool Lexer::readWord (
|
||||
|
||||
std::string::size_type eos = text.length ();
|
||||
int quote = text[cursor++];
|
||||
word = quote;
|
||||
word = std::to_string(quote);
|
||||
|
||||
int c;
|
||||
while ((c = text[cursor]))
|
||||
|
||||
Reference in New Issue
Block a user