Commit 6c690e82 authored by Jesse Beder's avatar Jesse Beder
Browse files

Updated the ostream emitting overload to user the new ostream-handling emitters

parent a78069a6
......@@ -15,9 +15,8 @@ namespace YAML
std::ostream& operator << (std::ostream& out, const Node& node)
{
Emitter emitter;
Emitter emitter(out);
emitter << node;
out << emitter.c_str();
return out;
}
......
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