Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Remove obsolete comment in UnorderedEquals vector matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar authored and nitnelave committed May 25, 2020
1 parent cbef38b commit dd8a432
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/internal/catch_matchers_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ namespace Matchers {
struct UnorderedEqualsMatcher : MatcherBase<std::vector<T, AllocMatch>> {
UnorderedEqualsMatcher(std::vector<T, AllocComp> const& target) : m_target(target) {}
bool match(std::vector<T, AllocMatch> const& vec) const override {
// Note: This is a reimplementation of std::is_permutation,
// because I don't want to include <algorithm> inside the common path
if (m_target.size() != vec.size()) {
return false;
}
Expand Down

0 comments on commit dd8a432

Please sign in to comment.