Skip to content

Commit

Permalink
🔨 simplified a call
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jul 30, 2017
1 parent 7737a29 commit 96dd4ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12737,8 +12737,7 @@ class basic_json
JSON_DEPRECATED
friend std::istream& operator<<(basic_json& j, std::istream& i)
{
parser(detail::input_adapter(i)).parse(false, j);
return i;
return operator>>(i, j);
}

/*!
Expand Down

0 comments on commit 96dd4ff

Please sign in to comment.