[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:
Rosen Penev 2019-09-27 21:20:08 -07:00 committed by Paul Beckingham
parent 68c446ea08
commit da75c159ca

View file

@ -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]))