File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ class BPlusTreeBaseIterator
2828 typedef int difference_type;
2929 typedef typename Node::childs_type_iterator childs_type_iterator;
3030
31- self_type operator ++();
31+ self_type& operator ++();
3232 self_type operator ++(int );
33- self_type operator --();
33+ self_type& operator --();
3434 self_type operator --(int );
3535 reference operator *();
3636 pointer operator ->();
@@ -165,7 +165,7 @@ bool __B_PLUS_TREE_BASEITERATOR_CLASS__::expired()
165165}
166166
167167__B_PLUS_TREE_ITERATOR_TEMPLATE__
168- typename __B_PLUS_TREE_BASEITERATOR_CLASS__::self_type __B_PLUS_TREE_BASEITERATOR_CLASS__::operator ++()
168+ typename __B_PLUS_TREE_BASEITERATOR_CLASS__::self_type& __B_PLUS_TREE_BASEITERATOR_CLASS__::operator ++()
169169{
170170 child_item_type_ptr it = item.lock ();
171171 child_item_type_ptr oit = it;
@@ -259,7 +259,7 @@ typename __B_PLUS_TREE_BASEITERATOR_CLASS__::self_type __B_PLUS_TREE_BASEITERATO
259259}
260260
261261__B_PLUS_TREE_ITERATOR_TEMPLATE__
262- typename __B_PLUS_TREE_BASEITERATOR_CLASS__::self_type __B_PLUS_TREE_BASEITERATOR_CLASS__::operator --()
262+ typename __B_PLUS_TREE_BASEITERATOR_CLASS__::self_type& __B_PLUS_TREE_BASEITERATOR_CLASS__::operator --()
263263{
264264 child_item_type_ptr it = item.lock ();
265265 child_item_type_ptr oit = it;
You can’t perform that action at this time.
0 commit comments