Merged ostreams for the emitter change from the core

This commit is contained in:
Jesse Beder
2012-05-25 19:35:24 -05:00
10 changed files with 174 additions and 154 deletions

View File

@@ -3,11 +3,10 @@
int main()
{
YAML::Emitter out;
YAML::Emitter out(std::cout);
out << YAML::BeginSeq;
out << ':';
out << "item 1";
out << YAML::BeginSeq << "foo 1" << "bar 2" << YAML::EndSeq;
out << YAML::EndSeq;
std::cout << out.c_str() << "\n";
return 0;
}