Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
06b99f53
Unverified
Commit
06b99f53
authored
Jul 19, 2020
by
Kajetan Świerk
Committed by
GitHub
Jul 18, 2020
Browse files
Default initialize node's member variable (#923)
parent
c3df6d87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/yaml-cpp/node/detail/node.h
include/yaml-cpp/node/detail/node.h
+1
-1
No files found.
include/yaml-cpp/node/detail/node.h
View file @
06b99f53
...
...
@@ -24,7 +24,7 @@ class node {
};
public:
node
()
:
m_pRef
(
new
node_ref
),
m_dependencies
{}
{}
node
()
:
m_pRef
(
new
node_ref
),
m_dependencies
{}
,
m_index
{}
{}
node
(
const
node
&
)
=
delete
;
node
&
operator
=
(
const
node
&
)
=
delete
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment