mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fixed map/comment/seq emitting
This commit is contained in:
@@ -567,7 +567,7 @@ namespace YAML
|
|||||||
if(child == EmitterNodeType::None)
|
if(child == EmitterNodeType::None)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(!m_pState->HasBegunNode()) {
|
if(!m_pState->HasBegunContent()) {
|
||||||
if(childCount > 0) {
|
if(childCount > 0) {
|
||||||
m_stream << "\n";
|
m_stream << "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user