fix UB/bad cast in TCPServerTest.cpp

This commit is contained in:
Günter Obiltschnig
2021-06-16 06:59:17 +02:00
parent cdf0919411
commit 5948cc8be4

View File

@@ -82,7 +82,7 @@ namespace
void run() void run()
{ {
SecureStreamSocket& ss = static_cast<SecureStreamSocket&>(socket()); SecureStreamSocket ss = socket();
try try
{ {
ss.completeHandshake(); ss.completeHandshake();