Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -29,8 +29,8 @@ NGL_TARGET_INCLUDE_DIRECTORIES(LtsWebSocketCommon
|
||||
)
|
||||
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsWebSocketCommon
|
||||
Qt5::Core
|
||||
Qt5::WebSockets
|
||||
Qt6::Core
|
||||
Qt6::WebSockets
|
||||
NGLLogger
|
||||
)
|
||||
|
||||
@@ -54,7 +54,7 @@ NGL_TARGET_INCLUDE_DIRECTORIES(LtsWebSocketServer
|
||||
)
|
||||
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsWebSocketServer
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
LtsWebSocketCommon
|
||||
)
|
||||
|
||||
@@ -74,6 +74,6 @@ NGL_TARGET_INCLUDE_DIRECTORIES(LtsWebSocketClient
|
||||
)
|
||||
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsWebSocketClient
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
LtsWebSocketCommon
|
||||
)
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
|
||||
#include "connection_handler.h"
|
||||
#include <utility>
|
||||
|
||||
#include "client_connection.h"
|
||||
|
||||
@@ -16,7 +17,7 @@ ConnectionHandler::ConnectionHandler(QObject *parent)
|
||||
|
||||
ConnectionHandler::~ConnectionHandler()
|
||||
{
|
||||
for (auto connection : qAsConst(m_connections))
|
||||
for (auto connection : std::as_const(m_connections))
|
||||
connection->disconnect(this);
|
||||
}
|
||||
|
||||
@@ -46,7 +47,7 @@ bool ConnectionHandler::init(const QString &serviceName, unsigned short port)
|
||||
|
||||
void ConnectionHandler::sendToAllClients(ReplyMessage *message)
|
||||
{
|
||||
for (auto connection : qAsConst(m_connections))
|
||||
for (auto connection : std::as_const(m_connections))
|
||||
connection->addReply(new ReplyMessage(*message));
|
||||
|
||||
delete message;
|
||||
|
||||
Reference in new issue
Block a user