Stop overloading virtualise defined at multiple levels

This commit is contained in:
Phil Nash 2013-12-07 09:08:01 +00:00
parent de49ec4d7c
commit ef95020239
2 changed files with 3 additions and 3 deletions

View File

@ -168,9 +168,9 @@ namespace Catch {
Ptr<TestRunNode> node = new TestRunNode( testRunStats ); Ptr<TestRunNode> node = new TestRunNode( testRunStats );
node->children.swap( m_testGroups ); node->children.swap( m_testGroups );
m_testRuns.push_back( node ); m_testRuns.push_back( node );
testRunEnded(); testRunEndedCumulative();
} }
virtual void testRunEnded() = 0; virtual void testRunEndedCumulative() = 0;
Ptr<IConfig> m_config; Ptr<IConfig> m_config;
std::ostream& stream; std::ostream& stream;

View File

@ -70,7 +70,7 @@ namespace Catch {
writeGroup( *m_testGroups.back(), suiteTime ); writeGroup( *m_testGroups.back(), suiteTime );
} }
virtual void testRunEnded() { virtual void testRunEndedCumulative() {
xml.endElement(); xml.endElement();
} }