mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-23 13:39:34 +01:00
Remove redundant override specifier from functions that are declared final
This commit is contained in:
committed by
Chris Thrasher
parent
65cd203926
commit
1de7d0ed7b
@@ -16,7 +16,7 @@ class NullStreambuf : public std::streambuf {
|
|||||||
char dummyBuffer[64];
|
char dummyBuffer[64];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual int overflow(int c) override final;
|
virtual int overflow(int c) final;
|
||||||
};
|
};
|
||||||
|
|
||||||
class NullOStream final : private NullStreambuf, public std::ostream {
|
class NullOStream final : private NullStreambuf, public std::ostream {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace Catch {
|
|||||||
m_msg(msg)
|
m_msg(msg)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
const char* what() const noexcept override final;
|
const char* what() const noexcept final;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace Catch
|
} // end namespace Catch
|
||||||
|
|||||||
Reference in New Issue
Block a user