Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Apr 24, 2024
1 parent 0816a5b commit eba0f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/histogram/detail/chunk_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct chunk_vector {
const_iterator begin() const { return {vec_.data(), chunk_}; }
const_iterator end() const { return {vec_.data() + vec_.size(), chunk_}; }

value_type operator[](unsigned idx) const {
value_type operator[](size_type idx) const {
return {vec_.data() + idx * chunk_, vec_.data() + (idx + 1) * chunk_};
}

Expand Down

0 comments on commit eba0f2d

Please sign in to comment.