Skip to content

Commit

Permalink
Fix static analyzer error
Browse files Browse the repository at this point in the history
  • Loading branch information
nahueespinosa authored Jan 7, 2024
1 parent dbdd418 commit df62bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beluga/include/beluga/views/take_while_kld.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ struct forward_view : public ranges::view_adaptor<forward_view<Range>, Range, ra
};

/// Return the adaptor for the begin iterator.
auto begin_adaptor() const { return adaptor{}; }
[[nodiscard]] constexpr auto begin_adaptor() const { return adaptor{}; }

/// Return the adaptor for the end iterator.
auto end_adaptor() const { return adaptor{}; }
[[nodiscard]] constexpr auto end_adaptor() const { return adaptor{}; }
};

/// Implementation detail for a forward range adaptor object.
Expand Down

0 comments on commit df62bf4

Please sign in to comment.