From 7f1168293a82f1714a2c6deee1539c73d2d68fd2 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 5 Nov 2017 19:05:14 +0100 Subject: [PATCH] Fixed: Compilation --HG-- branch : develop --- code/ryzom/client/src/network_connection.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/ryzom/client/src/network_connection.cpp b/code/ryzom/client/src/network_connection.cpp index 730cb3477..133f92af1 100644 --- a/code/ryzom/client/src/network_connection.cpp +++ b/code/ryzom/client/src/network_connection.cpp @@ -2976,7 +2976,15 @@ void CNetworkConnection::reinit() // Reuse the udp socket _Connection.~CUdpSimSock(); + +#ifdef new +#undef new +#endif new (&_Connection) CUdpSimSock(); + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif } // sends system sync acknowledge