mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Added constructor to the Emitter with a stream, so you can write directly to a stream instead of our temp
This commit is contained in:
@@ -11,6 +11,10 @@ namespace YAML
|
||||
{
|
||||
}
|
||||
|
||||
Emitter::Emitter(std::ostream& stream): m_pState(new EmitterState), m_stream(stream)
|
||||
{
|
||||
}
|
||||
|
||||
Emitter::~Emitter()
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user