Sign in
gwj
/
po_oopc
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Network
Graphs
Download as
Email Patches
Plain Diff
Browse Code »
Commit
eefcc06048da359941147fb9fac66ce69bfd830b
Authored by
Grzegorz Jabłoński
2019-12-12 15:55:49 +0100
1 parent
8bd0a931
Fixed end iterator
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
examples09/02-iterator/foreach.cpp
examples09/02-iterator/foreach.cpp
View file @
eefcc06
...
...
@@ -42,7 +42,7 @@ Iterator Collection::begin()
42
42
43
43
Iterator Collection::end()
44
44
{
45
- return Iterator(Collection::size
-1
,this);
45
+ return Iterator(Collection::size
,this);
46
46
}
47
47
48
48
int main()
...
...