🏁 fix for #581

parent 978255da
......@@ -9005,7 +9005,7 @@ class basic_json
{
// avoid reading too many characters
const size_t max_length = static_cast<size_t>(limit - start);
return std::string(start + offset, std::min({length, max_length - offset}));
return std::string(start + offset, std::min(length, max_length - offset));
}
private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment