mirror of
https://github.com/nlohmann/json.git
synced 2026-07-08 03:25:10 +00:00
Consistently use std::char_traits int_type-->char conversion intrinsics
This commit is contained in:
+1
-1
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user