mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Remove obsolete comment in UnorderedEquals vector matcher
This commit is contained in:
parent
f3fe2dcb11
commit
5c502320e8
@ -140,8 +140,6 @@ namespace Matchers {
|
|||||||
m_target(target)
|
m_target(target)
|
||||||
{}
|
{}
|
||||||
bool match(std::vector<T, AllocMatch> const& vec) const override {
|
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()) {
|
if (m_target.size() != vec.size()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user