Commit b7c862a4 authored by Dominik Charousset's avatar Dominik Charousset

added 'virtual' to overriden member function

this patch fixes an issue with an older clang version that throws
and error if 'override' is used without declaring the member function
'virtual'
parent 82504f3e
...@@ -53,7 +53,7 @@ class buffered_writing : public Base { ...@@ -53,7 +53,7 @@ class buffered_writing : public Base {
: super{std::forward<Ts>(args)...}, m_middleman{mm}, m_out{out} : super{std::forward<Ts>(args)...}, m_middleman{mm}, m_out{out}
, m_has_unwritten_data{false} { } , m_has_unwritten_data{false} { }
continue_writing_result continue_writing() override { virtual continue_writing_result continue_writing() override {
CPPA_LOG_TRACE(""); CPPA_LOG_TRACE("");
CPPA_LOG_DEBUG_IF(!m_has_unwritten_data, "nothing to write (done)"); CPPA_LOG_DEBUG_IF(!m_has_unwritten_data, "nothing to write (done)");
while (m_has_unwritten_data) { while (m_has_unwritten_data) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment