Skip to content

Commit 1f3c68f

Browse files
committed
style: remove redundant override specifier from functions that are declared final
1 parent 3013cb8 commit 1f3c68f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

extras/catch_amalgamated.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7391,7 +7391,7 @@ namespace Catch {
73917391
m_msg(msg)
73927392
{}
73937393

7394-
const char* what() const noexcept override final;
7394+
const char* what() const noexcept final;
73957395
};
73967396

73977397
} // end namespace Catch

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)