Skip to content

Commit

Permalink
Remove checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Anilm3 committed Oct 5, 2024
1 parent 3029983 commit 5206976
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/object_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,16 @@ class object_view {
[[nodiscard]] std::size_t index() const { return static_cast<std::size_t>(index_); }
iterator &operator++() noexcept
{
if (index_ < size_) {
//if (index_ < size_) {
++index_;
}
//}
return *this;
}
iterator &operator--() noexcept
{
if (index_ > 0) {
//if (index_ > 0) {
--index_;
}
//}
return *this;
}

Expand Down

0 comments on commit 5206976

Please sign in to comment.