Commit 8bd0a931e017de11e7ca3c7f79dc05375589374c
1 parent
8e894b70
Removed unneeded typedef
Showing
1 changed file
with
0 additions
and
1 deletions
examples09/02-iterator/foreach.cpp
| @@ -7,7 +7,6 @@ class Collection | @@ -7,7 +7,6 @@ class Collection | ||
| 7 | { | 7 | { |
| 8 | static const size_t size = 10; | 8 | static const size_t size = 10; |
| 9 | int data[size]; | 9 | int data[size]; |
| 10 | - using iterator = Iterator; | ||
| 11 | friend class Iterator; | 10 | friend class Iterator; |
| 12 | public: | 11 | public: |
| 13 | Iterator begin(); | 12 | Iterator begin(); |