catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Remove obsolete comment in UnorderedEquals vector matcher
- Commit
bed47374cee07c6f9fec1a84d1afddba887fe731- Author
- Martin Hořeňovský ·
- Parents
0e9bae1cdb5d
Changes
include/internal/catch_matchers_vector.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/internal/catch_matchers_vector.h b/include/internal/catch_matchers_vector.h index 15a6ac99..bbe7c784 100644 --- a/include/internal/catch_matchers_vector.h +++ b/include/internal/catch_matchers_vector.h @@ -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; }