mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Add override keyword on all derived functions:
This silences warnings on latest clang compiler.
This commit is contained in:
committed by
Edward Hennis
parent
26fc812e21
commit
37bf76692d
@@ -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; }
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user