mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
Use binary_t::value_type (#4805)
This commit is contained in:
@ -2944,7 +2944,7 @@ class binary_reader
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
result.push_back(static_cast<std::uint8_t>(current));
|
||||
result.push_back(static_cast<typename binary_t::value_type>(current));
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
Reference in New Issue
Block a user