diff --git a/beast/module/core/streams/MemoryOutputStream.h b/beast/module/core/streams/MemoryOutputStream.h index dea2b940d..2c2b278e3 100644 --- a/beast/module/core/streams/MemoryOutputStream.h +++ b/beast/module/core/streams/MemoryOutputStream.h @@ -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; } diff --git a/beast/utility/WrappedSink.h b/beast/utility/WrappedSink.h index 18a28eeb9..672812b9c 100644 --- a/beast/utility/WrappedSink.h +++ b/beast/utility/WrappedSink.h @@ -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);