Skip to content

Commit

Permalink
Merge branch 'replace-use-of-arrow-op' into 'master'
Browse files Browse the repository at this point in the history
Replace uses of operator->() on iterator

See merge request npneq/inq!1112
  • Loading branch information
correaa committed Jul 18, 2024
2 parents 65fc3e0 + f0eed28 commit d69dccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parallel/array_iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ class array_iterator {
}

auto operator*() const {
return bit_->flatted();
return (*bit_).flatted();
}

auto operator->() const {
return &(bit_->flatted());
return &((*bit_).flatted());
}

static auto end() {
Expand Down

0 comments on commit d69dccf

Please sign in to comment.