Remove superfluous overload of operator==

This commit is contained in:
Martin Hořeňovský 2020-05-18 21:32:08 +02:00
parent d86834e5b5
commit b4a61cfd29
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -107,9 +107,6 @@ namespace Catch {
bool operator == (SectionNode const& other) const {
return stats.sectionInfo.lineInfo == other.stats.sectionInfo.lineInfo;
}
bool operator == (std::shared_ptr<SectionNode> const& other) const {
return operator==(*other);
}
SectionStats stats;
using ChildSections = std::vector<std::shared_ptr<SectionNode>>;