From b4a61cfd2934ddb3036b4203b5a275bcb35c488b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 18 May 2020 21:32:08 +0200 Subject: [PATCH] Remove superfluous overload of operator== --- src/catch2/reporters/catch_reporter_bases.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/catch2/reporters/catch_reporter_bases.hpp b/src/catch2/reporters/catch_reporter_bases.hpp index 09e6d545..5d875027 100644 --- a/src/catch2/reporters/catch_reporter_bases.hpp +++ b/src/catch2/reporters/catch_reporter_bases.hpp @@ -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 const& other) const { - return operator==(*other); - } SectionStats stats; using ChildSections = std::vector>;