mirror of
https://github.com/nlohmann/json
synced 2025-01-03 22:31:09 +00:00
Consistently use std::char_traits int_type-->char conversion intrinsics
This commit is contained in:
parent
0b803d0a5f
commit
a8cc7a1bc8
@ -2674,7 +2674,7 @@ scan_number_done:
|
||||
{
|
||||
yytext.clear();
|
||||
token_string.clear();
|
||||
token_string.push_back(static_cast<char>(current));
|
||||
token_string.push_back(std::char_traits<char>::to_char_type(current));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user