Remove redundant override specifier from functions that are declared final

This commit is contained in:
Eisuke Kawashima 2024-02-04 12:05:05 +09:00 committed by Chris Thrasher
parent 65cd203926
commit 1de7d0ed7b
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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