Add override keyword on all derived functions:

This silences warnings on latest clang compiler.
This commit is contained in:
Howard Hinnant
2015-09-17 15:37:48 -04:00
committed by Edward Hennis
parent 26fc812e21
commit 37bf76692d
2 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ public:
capacity off the block, so that its length matches the amount of actual data that
has been written so far.
*/
void flush();
void flush() override;
bool write (const void*, size_t) override;
std::int64_t getPosition() override { return position; }

View File

@@ -69,17 +69,17 @@ public:
}
beast::Journal::Severity
severity() const
severity() const override
{
return sink_.severity();
}
void severity (beast::Journal::Severity level)
void severity (beast::Journal::Severity level) override
{
sink_.severity (level);
}
void write (beast::Journal::Severity level, std::string const& text)
void write (beast::Journal::Severity level, std::string const& text) override
{
using beast::Journal;
sink_.write (level, prefix_ + text);