Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
850ec4f3
Commit
850ec4f3
authored
Nov 11, 2020
by
Orgad Shaneh
Committed by
Jesse Beder
Aug 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix reference types in iterators
Amends
26faac38
.
parent
84459a7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/yaml-cpp/node/detail/iterator.h
+1
-1
include/yaml-cpp/node/detail/node_iterator.h
+1
-1
No files found.
include/yaml-cpp/node/detail/iterator.h
View file @
850ec4f3
...
@@ -41,7 +41,7 @@ class iterator_base {
...
@@ -41,7 +41,7 @@ class iterator_base {
using
value_type
=
V
;
using
value_type
=
V
;
using
difference_type
=
std
::
ptrdiff_t
;
using
difference_type
=
std
::
ptrdiff_t
;
using
pointer
=
V
*
;
using
pointer
=
V
*
;
using
reference
=
V
;
using
reference
=
V
&
;
public
:
public
:
iterator_base
()
:
m_iterator
(),
m_pMemory
()
{}
iterator_base
()
:
m_iterator
(),
m_pMemory
()
{}
...
...
include/yaml-cpp/node/detail/node_iterator.h
View file @
850ec4f3
...
@@ -69,7 +69,7 @@ class node_iterator_base {
...
@@ -69,7 +69,7 @@ class node_iterator_base {
using
value_type
=
node_iterator_value
<
V
>
;
using
value_type
=
node_iterator_value
<
V
>
;
using
difference_type
=
std
::
ptrdiff_t
;
using
difference_type
=
std
::
ptrdiff_t
;
using
pointer
=
node_iterator_value
<
V
>*
;
using
pointer
=
node_iterator_value
<
V
>*
;
using
reference
=
node_iterator_value
<
V
>
;
using
reference
=
node_iterator_value
<
V
>
&
;
using
SeqIter
=
typename
node_iterator_type
<
V
>::
seq
;
using
SeqIter
=
typename
node_iterator_type
<
V
>::
seq
;
using
MapIter
=
typename
node_iterator_type
<
V
>::
map
;
using
MapIter
=
typename
node_iterator_type
<
V
>::
map
;
...
...
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