aboutsummaryrefslogtreecommitdiff
path: root/src/stable/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/list.h')
-rw-r--r--src/stable/list.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/stable/list.h b/src/stable/list.h
index 5ab7117..582e0e4 100644
--- a/src/stable/list.h
+++ b/src/stable/list.h
@@ -222,8 +222,8 @@ namespace Bu
222 using SharedCore<MyType, Core>::_allocateCore; 222 using SharedCore<MyType, Core>::_allocateCore;
223 223
224 public: 224 public:
225 struct const_iterator; 225 class const_iterator;
226 struct iterator; 226 class iterator;
227 227
228 List() 228 List()
229 { 229 {
@@ -489,9 +489,9 @@ namespace Bu
489 /** 489 /**
490 * An iterator to iterate through your list. 490 * An iterator to iterate through your list.
491 */ 491 */
492 typedef struct iterator 492 class iterator
493 { 493 {
494 friend struct const_iterator; 494 friend class const_iterator;
495 friend class List<value, valuealloc, linkalloc>; 495 friend class List<value, valuealloc, linkalloc>;
496 private: 496 private:
497 Link *pLink; 497 Link *pLink;
@@ -652,12 +652,12 @@ namespace Bu
652 pLink = oth.pLink; 652 pLink = oth.pLink;
653 return *this; 653 return *this;
654 } 654 }
655 } iterator; 655 };
656 656
657 /** 657 /**
658 *@see iterator 658 *@see iterator
659 */ 659 */
660 typedef struct const_iterator 660 class const_iterator
661 { 661 {
662 friend class List<value, valuealloc, linkalloc>; 662 friend class List<value, valuealloc, linkalloc>;
663 private: 663 private:
@@ -792,7 +792,7 @@ namespace Bu
792 { 792 {
793 return pLink != NULL; 793 return pLink != NULL;
794 } 794 }
795 } const_iterator; 795 };
796 796
797 /** 797 /**
798 * Get an iterator pointing to the first item in the list. 798 * Get an iterator pointing to the first item in the list.