Skip to content

Commit

Permalink
fixed old bug in int_vector_buffer::operator-
Browse files Browse the repository at this point in the history
  • Loading branch information
karasikov committed Dec 12, 2020
1 parent 7f91c14 commit dac9366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sdsl/int_vector_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ class int_vector_buffer
return it += i;
}

iterator& operator-(difference_type i) const
iterator operator-(difference_type i) const
{
iterator it = *this;
return it -= i;
Expand Down

0 comments on commit dac9366

Please sign in to comment.