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
0970a108
Commit
0970a108
authored
Jan 24, 2015
by
Jesse Beder
Browse files
Remove stray field
parent
f9ff72de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
include/yaml-cpp/node/node.h
include/yaml-cpp/node/node.h
+0
-1
util/sandbox.cpp
util/sandbox.cpp
+3
-3
No files found.
include/yaml-cpp/node/node.h
View file @
0970a108
...
...
@@ -129,7 +129,6 @@ class YAML_CPP_API Node {
bool
m_isValid
;
mutable
detail
::
shared_memory_holder
m_pMemory
;
mutable
detail
::
node
*
m_pNode
;
mutable
const
detail
::
node
*
m_pConstNode
;
};
YAML_CPP_API
bool
operator
==
(
const
Node
&
lhs
,
const
Node
&
rhs
);
...
...
util/sandbox.cpp
View file @
0970a108
...
...
@@ -26,11 +26,11 @@ class NullEventHandler : public YAML::EventHandler {
};
int
main
()
{
const
YAML
::
Node
node
;
YAML
::
Node
root
;
std
::
string
key
=
"doesnotexist"
;
for
(;;)
{
node
[
key
];
YAML
::
Node
node
;
root
=
node
;
}
return
0
;
}
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