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
570ab9d3
Commit
570ab9d3
authored
Jan 24, 2015
by
Jesse Beder
Browse files
Fix unused arg warnings for EmitterStyle
parent
0c8a5393
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/contrib/graphbuilderadapter.cpp
src/contrib/graphbuilderadapter.cpp
+2
-2
test/integration/emitter_test.cpp
test/integration/emitter_test.cpp
+2
-2
No files found.
src/contrib/graphbuilderadapter.cpp
View file @
570ab9d3
...
@@ -31,7 +31,7 @@ void GraphBuilderAdapter::OnScalar(const Mark &mark, const std::string &tag,
...
@@ -31,7 +31,7 @@ void GraphBuilderAdapter::OnScalar(const Mark &mark, const std::string &tag,
void
GraphBuilderAdapter
::
OnSequenceStart
(
const
Mark
&
mark
,
void
GraphBuilderAdapter
::
OnSequenceStart
(
const
Mark
&
mark
,
const
std
::
string
&
tag
,
const
std
::
string
&
tag
,
anchor_t
anchor
,
anchor_t
anchor
,
EmitterStyle
::
value
style
)
{
EmitterStyle
::
value
/*
style
*/
)
{
void
*
pNode
=
m_builder
.
NewSequence
(
mark
,
tag
,
GetCurrentParent
());
void
*
pNode
=
m_builder
.
NewSequence
(
mark
,
tag
,
GetCurrentParent
());
m_containers
.
push
(
ContainerFrame
(
pNode
));
m_containers
.
push
(
ContainerFrame
(
pNode
));
RegisterAnchor
(
anchor
,
pNode
);
RegisterAnchor
(
anchor
,
pNode
);
...
@@ -46,7 +46,7 @@ void GraphBuilderAdapter::OnSequenceEnd() {
...
@@ -46,7 +46,7 @@ void GraphBuilderAdapter::OnSequenceEnd() {
void
GraphBuilderAdapter
::
OnMapStart
(
const
Mark
&
mark
,
const
std
::
string
&
tag
,
void
GraphBuilderAdapter
::
OnMapStart
(
const
Mark
&
mark
,
const
std
::
string
&
tag
,
anchor_t
anchor
,
anchor_t
anchor
,
EmitterStyle
::
value
style
)
{
EmitterStyle
::
value
/*
style
*/
)
{
void
*
pNode
=
m_builder
.
NewMap
(
mark
,
tag
,
GetCurrentParent
());
void
*
pNode
=
m_builder
.
NewMap
(
mark
,
tag
,
GetCurrentParent
());
m_containers
.
push
(
ContainerFrame
(
pNode
,
m_pKeyNode
));
m_containers
.
push
(
ContainerFrame
(
pNode
,
m_pKeyNode
));
m_pKeyNode
=
NULL
;
m_pKeyNode
=
NULL
;
...
...
test/integration/emitter_test.cpp
View file @
570ab9d3
...
@@ -16,11 +16,11 @@ class NullEventHandler : public EventHandler {
...
@@ -16,11 +16,11 @@ class NullEventHandler : public EventHandler {
const
std
::
string
&
)
{}
const
std
::
string
&
)
{}
virtual
void
OnSequenceStart
(
const
Mark
&
,
const
std
::
string
&
,
anchor_t
,
virtual
void
OnSequenceStart
(
const
Mark
&
,
const
std
::
string
&
,
anchor_t
,
EmitterStyle
::
value
style
)
{}
EmitterStyle
::
value
/*
style
*/
)
{}
virtual
void
OnSequenceEnd
()
{}
virtual
void
OnSequenceEnd
()
{}
virtual
void
OnMapStart
(
const
Mark
&
,
const
std
::
string
&
,
anchor_t
,
virtual
void
OnMapStart
(
const
Mark
&
,
const
std
::
string
&
,
anchor_t
,
EmitterStyle
::
value
style
)
{}
EmitterStyle
::
value
/*
style
*/
)
{}
virtual
void
OnMapEnd
()
{}
virtual
void
OnMapEnd
()
{}
};
};
...
...
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