mirror of
https://github.com/nlohmann/json.git
synced 2026-10-22 14:08:13 +00:00
std::string(begin, end) over a std::vector<std::uint8_t> converts every byte to char, which Clang's -fsanitize=integer reports for bytes above 0x7F where char is signed (x86-64 with libstdc++). The string is now made from the vector's data. Signed-off-by: Niels Lohmann <mail@nlohmann.me>