mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
[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:
parent
68c446ea08
commit
da75c159ca
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ bool Lexer::readWord (
|
||||||
|
|
||||||
std::string::size_type eos = text.length ();
|
std::string::size_type eos = text.length ();
|
||||||
int quote = text[cursor++];
|
int quote = text[cursor++];
|
||||||
word = quote;
|
word = std::to_string(quote);
|
||||||
|
|
||||||
int c;
|
int c;
|
||||||
while ((c = text[cursor]))
|
while ((c = text[cursor]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue