Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
df8643fd
Commit
df8643fd
authored
Aug 13, 2013
by
Tristan Matthews
Browse files
* #28351: yamlparser: use range-based for loops
parent
98a06870
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/config/yamlparser.cpp
View file @
df8643fd
...
...
@@ -380,8 +380,8 @@ void YamlParser::constructNativeData()
{
Sequence
*
seq
=
doc_
.
getSequence
();
for
(
Sequence
::
iterator
iter
=
seq
->
begin
();
iter
!=
seq
->
end
();
++
iter
)
{
YamlNode
*
yamlNode
=
static_cast
<
YamlNode
*>
(
*
iter
);
for
(
const
auto
&
iter
:
*
seq
)
{
YamlNode
*
yamlNode
=
static_cast
<
YamlNode
*>
(
iter
);
if
(
yamlNode
==
NULL
)
{
ERROR
(
"Could not retrieve yaml node from document sequence"
);
continue
;
...
...
Write
Preview
Supports
Markdown
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