Commit 0abbf650 authored by Jesse Beder's avatar Jesse Beder
Browse files

Fixed char output

parent c664d50d
......@@ -813,7 +813,7 @@ namespace YAML
return *this;
PrepareNode(EmitterNodeType::Scalar);
m_stream << ch;
Utils::WriteChar(m_stream, ch);
StartedScalar();
return *this;
......
......@@ -4,7 +4,9 @@
int main()
{
YAML::Emitter out;
out << YAML::DoubleQuoted << "Hello, World!\n";
out << YAML::BeginSeq;
out << ':';
out << YAML::EndSeq;
std::cout << out.c_str() << "\n";
return 0;
......
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