Skip to content

Commit

Permalink
Ignore options
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiavrammsd committed Sep 1, 2024
1 parent 6f94de3 commit 1a705af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/msd/zip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,17 @@ class zip {

value_type back()
{
assert(!empty()); // LCOV_EXCL_LINE
// GCOVR_EXCL_START
assert(!empty());
// GCOVR_EXCL_STOP
return *std::prev(begin() + size());
}

value_type back() const
{
// LCOV_EXCL_START
assert(!empty()); // LCOV_EXCL_LINE
// LCOV_EXCL_STOP
return *std::prev(begin() + size());
}

Expand Down

0 comments on commit 1a705af

Please sign in to comment.