[zion] Update LinkedList iterator semantics.

This commit is contained in:
Drew Galbraith 2023-06-16 15:24:38 -07:00
parent 242a18ae3c
commit b27672d5de
4 changed files with 7 additions and 7 deletions

View file

@ -88,7 +88,7 @@ class LinkedList {
}
T& operator*() { return item_->item; }
T& operator->() { return item_->item; }
T* operator->() { return &item_->item; }
bool operator==(const Iterator& other) { return item_ == other.item_; }
bool operator!=(const Iterator& other) { return item_ != other.item_; }