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
0b6edc6c
Commit
0b6edc6c
authored
Sep 19, 2008
by
jbeder
Browse files
Made Node non-copyable.
parent
1d92deff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
include/node.h
include/node.h
+5
-0
No files found.
include/node.h
View file @
0b6edc6c
...
...
@@ -78,6 +78,11 @@ namespace YAML
int
Compare
(
const
Node
&
rhs
)
const
;
friend
bool
operator
<
(
const
Node
&
n1
,
const
Node
&
n2
);
private:
// shouldn't be copyable! (at least for now)
Node
(
const
Node
&
rhs
);
Node
&
operator
=
(
const
Node
&
rhs
);
private:
void
ParseHeader
(
Scanner
*
pScanner
,
const
ParserState
&
state
);
void
ParseTag
(
Scanner
*
pScanner
,
const
ParserState
&
state
);
...
...
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