Progmasoft Git

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
5c502320e8034394511b842faa69b79c5b92417f
Author
Martin Hořeňovský ·
Parents
f3fe2dcb110a

Files · Download .tar.gz

Changes

 src/catch2/matchers/catch_matchers_vector.hpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/catch2/matchers/catch_matchers_vector.hpp b/src/catch2/matchers/catch_matchers_vector.hpp
index 41fd6939..e16a350a 100644
--- a/src/catch2/matchers/catch_matchers_vector.hpp
+++ b/src/catch2/matchers/catch_matchers_vector.hpp
@@ -140,8 +140,6 @@ namespace Matchers {
             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;
             }