Skip to content

Commit

Permalink
Removed dead code in ends_with_checker
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Oct 6, 2024
1 parent a0fa456 commit 2c68995
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/trompeloeil/matcher/range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,10 +724,6 @@ struct ends_with_checker
bool all_true = true;
const auto match = [&](const auto &compare)
{
if (it == e)
{
return false;
}
const auto &v = *it++;
return trompeloeil::param_matches(compare, std::ref(v));
};
Expand Down

0 comments on commit 2c68995

Please sign in to comment.