Consistently use std::char_traits int_type-->char conversion intrinsics

This commit is contained in:
Perry Kundert 2017-10-16 08:06:10 -07:00
parent 0b803d0a5f
commit a8cc7a1bc8

View file

@ -2674,7 +2674,7 @@ scan_number_done:
{ {
yytext.clear(); yytext.clear();
token_string.clear(); token_string.clear();
token_string.push_back(static_cast<char>(current)); token_string.push_back(std::char_traits<char>::to_char_type(current));
} }
/* /*