From dd8a4328c6c1aea8cf2e25840ccda856ecb5ea2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= <martin.horenovsky@gmail.com> Date: Mon, 18 May 2020 14:29:50 +0200 Subject: [PATCH] Remove obsolete comment in UnorderedEquals vector matcher --- 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 15a6ac9995..bbe7c78475 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; }