From 9c6902b2c4f6ae3dfc32729619f485b350ef7e60 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 1 Oct 2023 02:40:13 +0200 Subject: [PATCH] Fix missing return value in tcp_server::send() --- Source/dvlnet/tcp_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/dvlnet/tcp_client.cpp b/Source/dvlnet/tcp_client.cpp index b4821147b..546159901 100644 --- a/Source/dvlnet/tcp_client.cpp +++ b/Source/dvlnet/tcp_client.cpp @@ -166,6 +166,7 @@ tl::expected 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)