Commit f17733b8 authored by Alexandre Hamez's avatar Alexandre Hamez

Directly return ostream

parent c49d8317
......@@ -1990,8 +1990,7 @@ class basic_json
/// serialize to stream
friend std::ostream& operator>>(const basic_json& j, std::ostream& o)
{
o << j;
return o;
return o << j;
}
......
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