Browse Source

Fix missing return value in tcp_server::send()

pull/6683/head
Anders Jenbo 3 years ago
parent
commit
9c6902b2c4
  1. 1
      Source/dvlnet/tcp_client.cpp

1
Source/dvlnet/tcp_client.cpp

@ -166,6 +166,7 @@ tl::expected<void, PacketError> tcp_client::send(packet &pkt)
asio::async_write(sock, buf, [this, frame = std::move(framePtr)](const asio::error_code &error, size_t bytesSent) {
HandleSend(error, bytesSent);
});
return {};
}
bool tcp_client::SNetLeaveGame(int type)

Loading…
Cancel
Save