mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
🔨 fixed bugs introduced by merging from develop
This commit is contained in:
@ -7390,7 +7390,7 @@ class basic_json
|
||||
JSON_DEPRECATED
|
||||
friend std::istream& operator<<(basic_json& j, std::istream& i)
|
||||
{
|
||||
j = parser(i).parse();
|
||||
j = parser(i).parse(true);
|
||||
return i;
|
||||
}
|
||||
|
||||
@ -7422,7 +7422,7 @@ class basic_json
|
||||
*/
|
||||
friend std::istream& operator>>(std::istream& i, basic_json& j)
|
||||
{
|
||||
j = parser(i).parse(false);
|
||||
j = parser(i).parse(true);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user