Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove redundant `override` specifier from functions that are declared `final`

Commit
1de7d0ed7be47080f0f436bc88cac73d0af53006
Author
Eisuke Kawashima ·
Committer
Chris Thrasher
Parents
65cd203926fd

Files · Download .tar.gz

Changes

 fuzzing/NullOStream.h                               | 2 +-
 src/catch2/generators/catch_generator_exception.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fuzzing/NullOStream.h b/fuzzing/NullOStream.h
index abbec09c..390ac86c 100644
--- a/fuzzing/NullOStream.h
+++ b/fuzzing/NullOStream.h
@@ -16,7 +16,7 @@ class NullStreambuf : public std::streambuf {
   char dummyBuffer[64];
 
 protected:
-  virtual int overflow(int c) override final;
+  virtual int overflow(int c) final;
 };
 
 class NullOStream final : private NullStreambuf, public std::ostream {
diff --git a/src/catch2/generators/catch_generator_exception.hpp b/src/catch2/generators/catch_generator_exception.hpp
index f353042e..8dffcd26 100644
--- a/src/catch2/generators/catch_generator_exception.hpp
+++ b/src/catch2/generators/catch_generator_exception.hpp
@@ -23,7 +23,7 @@ namespace Catch {
             m_msg(msg)
         {}
 
-        const char* what() const noexcept override final;
+        const char* what() const noexcept final;
     };
 
 } // end namespace Catch