Skip to content

Conversation

@songqing
Copy link
Contributor

What do these changes do?

When test with mutable_fragment_tests, the process crashed when data is small. It seems the overloading of operator++(int) in code doesn't return the old value, but return the new value, which is not the normal implementation.
`
iterator operator++(int) noexcept {

  VID_T new_value = cur_.GetValue() + 1;
  if (new_value == head_end_) {
    new_value = tail_begin_;
  }
  return iterator(new_value, head_end_, tail_begin_);
}

`

Related issue number

f3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant