Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_context.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-04-18 14:10:24 +0200
committerGitHub2019-04-18 14:10:24 +0200
commitc3c82f539c1d31df6b7f828efe4f4ba9eb650bf7 (patch)
tree41481404e0a30203a99f05fea7bce32c7492b410 /include/internal/catch_context.cpp
parentc7653811a66bf8f3e87506d24e2f6afd2a8f1322 (diff)
parent5347ff9e5f7e9160642f6f0a4c28fd0a13a7eed8 (diff)
downloadcatch3-c3c82f539c1d31df6b7f828efe4f4ba9eb650bf7.tar.gz
Merge pull request #1336 from ax3l/topic-overrideVirtualRedundant
Refactor: override implies virtual
Diffstat (limited to 'include/internal/catch_context.cpp')
-rw-r--r--include/internal/catch_context.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/internal/catch_context.cpp b/include/internal/catch_context.cpp
index e116f28f..52fca302 100644
--- a/include/internal/catch_context.cpp
+++ b/include/internal/catch_context.cpp
@@ -13,27 +13,27 @@ namespace Catch {
class Context : public IMutableContext, NonCopyable {
public: // IContext
- virtual IResultCapture* getResultCapture() override {
+ IResultCapture* getResultCapture() override {
return m_resultCapture;
}
- virtual IRunner* getRunner() override {
+ IRunner* getRunner() override {
return m_runner;
}
- virtual IConfigPtr const& getConfig() const override {
+ IConfigPtr const& getConfig() const override {
return m_config;
}
- virtual ~Context() override;
+ ~Context() override;
public: // IMutableContext
- virtual void setResultCapture( IResultCapture* resultCapture ) override {
+ void setResultCapture( IResultCapture* resultCapture ) override {
m_resultCapture = resultCapture;
}
- virtual void setRunner( IRunner* runner ) override {
+ void setRunner( IRunner* runner ) override {
m_runner = runner;
}
- virtual void setConfig( IConfigPtr const& config ) override {
+ void setConfig( IConfigPtr const& config ) override {
m_config = config;
}