Addressed Resharper-C++ warnings

See #958
This commit is contained in:
Martin Hořeňovský
2017-07-25 17:16:28 +02:00
parent b6f62af7d1
commit 1e59ccee41
25 changed files with 97 additions and 93 deletions

View File

@@ -63,33 +63,30 @@ namespace Catch {
private: // IResultCapture
virtual void assertionEnded(AssertionResult const& result);
virtual void assertionEnded(AssertionResult const& result) override;
virtual bool sectionStarted(
SectionInfo const& sectionInfo,
Counts& assertions
);
virtual bool sectionStarted( SectionInfo const& sectionInfo, Counts& assertions ) override;
bool testForMissingAssertions(Counts& assertions);
virtual void sectionEnded(SectionEndInfo const& endInfo);
virtual void sectionEnded(SectionEndInfo const& endInfo) override;
virtual void sectionEndedEarly(SectionEndInfo const& endInfo);
virtual void sectionEndedEarly(SectionEndInfo const& endInfo) override;
virtual void pushScopedMessage(MessageInfo const& message);
virtual void pushScopedMessage(MessageInfo const& message) override;
virtual void popScopedMessage(MessageInfo const& message);
virtual void popScopedMessage(MessageInfo const& message) override;
virtual std::string getCurrentTestName() const;
virtual std::string getCurrentTestName() const override;
virtual const AssertionResult* getLastResult() const;
virtual const AssertionResult* getLastResult() const override;
virtual void exceptionEarlyReported();
virtual void exceptionEarlyReported() override;
virtual void handleFatalErrorCondition(std::string const& message);
virtual void handleFatalErrorCondition(std::string const& message) override;
public:
// !TBD We need to do this another way!
bool aborting() const;
bool aborting() const override;
private: