Fix compilation error.

This commit is contained in:
levlam 2023-04-04 16:39:20 +03:00
parent fd217d1b3e
commit d1c25f2135

View File

@ -137,10 +137,10 @@ Result<size_t> BufferedFdBase<FdT>::flush_write() {
}
if (result == 0) {
if (write_->empty()) {
LOG(DEBUG) << "Nothing to write to " << get_poll_info().native_fd();
LOG(DEBUG) << "Nothing to write to " << FdT::get_poll_info().native_fd();
} else {
LOG(DEBUG) << "Can't flush write to " << get_poll_info().native_fd()
<< " with flags = " << get_poll_info().get_flags_local();
LOG(DEBUG) << "Can't flush write to " << FdT::get_poll_info().native_fd()
<< " with flags = " << FdT::get_poll_info().get_flags_local();
}
}
return result;