Browse Source

Fix missing return value in tcp_server::StartSend()

pull/6678/head
staphen 2 years ago committed by Anders Jenbo
parent
commit
ed7b8e794f
  1. 1
      Source/dvlnet/tcp_server.cpp

1
Source/dvlnet/tcp_server.cpp

@ -190,6 +190,7 @@ tl::expected<void, PacketError> tcp_server::StartSend(const scc &con, packet &pk
[this, con, frame = std::move(framePtr)](const asio::error_code &ec, size_t bytesSent) {
HandleSend(con, ec, bytesSent);
});
return {};
}
void tcp_server::HandleSend(const scc &con, const asio::error_code &ec,

Loading…
Cancel
Save