From ac2f2ead72073759c26d61ccf4e34a16456955a7 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Thu, 2 Mar 2023 23:10:58 +0300 Subject: [PATCH] Compilation fix --- server/SynchronousSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/SynchronousSocket.cpp b/server/SynchronousSocket.cpp index db5c123..a8da3f7 100644 --- a/server/SynchronousSocket.cpp +++ b/server/SynchronousSocket.cpp @@ -122,7 +122,7 @@ string SynchronousSocket::Receive(int amount) } else { - r += (string)(buf, res); + r += string(buf, res); } } return r;