Skip to content

Commit 1de7d0e

Browse files
e-kwsmChrisThrasher
authored andcommitted
Remove redundant override specifier from functions that are declared final
1 parent 65cd203 commit 1de7d0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fuzzing/NullOStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class NullStreambuf : public std::streambuf {
1616
char dummyBuffer[64];
1717

1818
protected:
19-
virtual int overflow(int c) override final;
19+
virtual int overflow(int c) final;
2020
};
2121

2222
class NullOStream final : private NullStreambuf, public std::ostream {

src/catch2/generators/catch_generator_exception.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Catch {
2323
m_msg(msg)
2424
{}
2525

26-
const char* what() const noexcept override final;
26+
const char* what() const noexcept final;
2727
};
2828

2929
} // end namespace Catch

0 commit comments

Comments
 (0)