Skip to content

Commit

Permalink
fixed iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Gendreau authored and Kyle Gendreau committed Jul 5, 2021
1 parent 32ced3e commit 6d0a6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Iterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Iterator<K,T,S> Iterator<K, T, S>::operator++(int) {

template<typename K, typename T, uint32_t S>
bool Iterator<K, T, S>::operator==(const Iterator &rhs) const {
return this == &rhs || *curNode_ == *(rhs.curNode_);
return this == &rhs || curNode_ == rhs.curNode_;
}

template<typename K, typename T, uint32_t S>
Expand Down

0 comments on commit 6d0a6ae

Please sign in to comment.