mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fix initialize ordering warning
This commit is contained in:
@@ -18,8 +18,8 @@ std::string node_data::empty_scalar;
|
|||||||
node_data::node_data()
|
node_data::node_data()
|
||||||
: m_isDefined(false),
|
: m_isDefined(false),
|
||||||
m_type(NodeType::Null),
|
m_type(NodeType::Null),
|
||||||
m_seqSize(0),
|
m_style(EmitterStyle::Default),
|
||||||
m_style(EmitterStyle::Default) {}
|
m_seqSize(0) {}
|
||||||
|
|
||||||
void node_data::mark_defined() {
|
void node_data::mark_defined() {
|
||||||
if (m_type == NodeType::Undefined)
|
if (m_type == NodeType::Undefined)
|
||||||
|
Reference in New Issue
Block a user