We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc9e60 commit b928752Copy full SHA for b928752
1 file changed
simplecpp.cpp
@@ -285,7 +285,7 @@ class simplecpp::TokenList::Stream {
285
// character is non-ASCII character then replace it with 0xff
286
if (isUtf16) {
287
(void)get();
288
- const int ch2 = static_cast<unsigned char>(peek());
+ const auto ch2 = static_cast<unsigned char>(peek());
289
unget();
290
const int ch16 = makeUtf16Char(ch, ch2);
291
ch = static_cast<unsigned char>(((ch16 >= 0x80) ? 0xff : ch16));
0 commit comments