Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+6
-6
@@ -18,8 +18,8 @@ SET(SRCS_static
|
||||
NGL_ADD_LIBRARY(WS AAR SV avaTestServer_static STATIC ${SRCS_static})
|
||||
NGL_TARGET_LINK_LIBRARIES(avaTestServer_static
|
||||
PUBLIC
|
||||
Qt5::Core
|
||||
Qt5::Network
|
||||
Qt6::Core
|
||||
Qt6::Network
|
||||
)
|
||||
|
||||
SET(SRCS
|
||||
@@ -29,7 +29,7 @@ SET(SRCS
|
||||
NGL_ADD_EXECUTABLE(WS AAR SV NO_TRANSLATION avaTestServer ${SRCS})
|
||||
NGL_TARGET_LINK_LIBRARIES(avaTestServer
|
||||
avaTestServer_static
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
)
|
||||
|
||||
IF(BUILD_TESTING)
|
||||
@@ -63,9 +63,9 @@ IF(BUILD_TESTING)
|
||||
IF(TARGET svcAvmCommon)
|
||||
ADD_EXECUTABLE(avmTests ${SRCS})
|
||||
TARGET_LINK_LIBRARIES(avmTests
|
||||
Qt5::Core
|
||||
Qt5::Network
|
||||
Qt5::Test
|
||||
Qt6::Core
|
||||
Qt6::Network
|
||||
Qt6::Test
|
||||
svcAvmCommon
|
||||
svcIsmCommon
|
||||
avaTestServer_static
|
||||
|
||||
+2
-1
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <QtNetwork/QHostAddress>
|
||||
#include <utility>
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QRegExp>
|
||||
#include <QString>
|
||||
@@ -325,7 +326,7 @@ AvaTestServer::AvaTestServer()
|
||||
|
||||
AvaTestServer::~AvaTestServer()
|
||||
{
|
||||
for (QTcpSocket *conn : qAsConst(m_Conns))
|
||||
for (QTcpSocket *conn : std::as_const(m_Conns))
|
||||
{
|
||||
// disconnect before we delete as otherwise closedConnection() would be called wich would
|
||||
// also delete the socket.
|
||||
|
||||
Reference in new issue
Block a user