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 superfluous overload of operator==

Commit
b4a61cfd2934ddb3036b4203b5a275bcb35c488b
Author
Martin Hořeňovský ·
Parents
d86834e5b501

Files · Download .tar.gz

Changes

 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<SectionNode> const& other) const {
-                return operator==(*other);
-            }
 
             SectionStats stats;
             using ChildSections = std::vector<std::shared_ptr<SectionNode>>;