diff options
| author | Ian Copland | 2016-03-29 17:03:09 +0100 |
|---|---|---|
| committer | Ian Copland | 2016-03-29 17:03:09 +0100 |
| commit | 7075b7defbbffe20af3d23a6b996c1a53cd71e60 (patch) | |
| tree | 98a43991638da23ac70e359d47fb6d36199433cd /include | |
| parent | c984fc3ecde60b59efa2203e82261acac8ac8502 (diff) | |
| download | catch3-7075b7defbbffe20af3d23a6b996c1a53cd71e60.tar.gz | |
Added missing CATCH_OVERRIDE to CumulativeReporterBase::assertionEnded(). This fixes a warning when building in Xcode 7.2+ with default warning settings.
Diffstat (limited to 'include')
| -rw-r--r-- | include/reporters/catch_reporter_bases.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp index 4fdeb195..cfc28f29 100644 --- a/include/reporters/catch_reporter_bases.hpp +++ b/include/reporters/catch_reporter_bases.hpp @@ -166,7 +166,7 @@ namespace Catch { virtual void assertionStarting( AssertionInfo const& ) CATCH_OVERRIDE {} - virtual bool assertionEnded( AssertionStats const& assertionStats ) { + virtual bool assertionEnded( AssertionStats const& assertionStats ) CATCH_OVERRIDE { assert( !m_sectionStack.empty() ); SectionNode& sectionNode = *m_sectionStack.back(); sectionNode.assertions.push_back( assertionStats ); |