mirror of
https://github.com/nlohmann/json.git
synced 2025-07-15 07:41:50 +03:00
🚑 removed unsafe call to strerror #403
This commit is contained in:
@ -9077,7 +9077,7 @@ class basic_json
|
||||
// immediately abort if stream is erroneous
|
||||
if (s.fail())
|
||||
{
|
||||
throw std::invalid_argument("stream error: " + std::string(strerror(errno)));
|
||||
throw std::invalid_argument("stream error");
|
||||
}
|
||||
|
||||
// fill buffer
|
||||
|
Reference in New Issue
Block a user