From ef950202393f981a74a2178e859b275d78dc7c59 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Sat, 7 Dec 2013 09:08:01 +0000 Subject: [PATCH] Stop overloading virtualise defined at multiple levels --- include/reporters/catch_reporter_bases.hpp | 4 ++-- include/reporters/catch_reporter_junit.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp index a109d860..451b5a75 100644 --- a/include/reporters/catch_reporter_bases.hpp +++ b/include/reporters/catch_reporter_bases.hpp @@ -168,9 +168,9 @@ namespace Catch { Ptr node = new TestRunNode( testRunStats ); node->children.swap( m_testGroups ); m_testRuns.push_back( node ); - testRunEnded(); + testRunEndedCumulative(); } - virtual void testRunEnded() = 0; + virtual void testRunEndedCumulative() = 0; Ptr m_config; std::ostream& stream; diff --git a/include/reporters/catch_reporter_junit.hpp b/include/reporters/catch_reporter_junit.hpp index db12635b..57395930 100644 --- a/include/reporters/catch_reporter_junit.hpp +++ b/include/reporters/catch_reporter_junit.hpp @@ -70,7 +70,7 @@ namespace Catch { writeGroup( *m_testGroups.back(), suiteTime ); } - virtual void testRunEnded() { + virtual void testRunEndedCumulative() { xml.endElement(); }