Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -24,8 +24,8 @@ NGL_TARGET_INCLUDE_DIRECTORIES(cesTestsGasPipe
|
||||
# Testing FunctionTopic Functionality (FTC)
|
||||
ADD_EXECUTABLE(feedGeoJson ${FEED_GEO_JSON})
|
||||
TARGET_LINK_LIBRARIES(feedGeoJson
|
||||
Qt5::Core
|
||||
Qt5::Test
|
||||
Qt6::Core
|
||||
Qt6::Test
|
||||
RTI::nddscpp2
|
||||
svcAesCommon
|
||||
svcAesClient
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
|
||||
#include "websocket_server.h"
|
||||
#include <utility>
|
||||
#include <QDebug>
|
||||
|
||||
WebSocketServer::WebSocketServer(quint16 port, QObject *parent)
|
||||
@@ -40,7 +41,7 @@ void WebSocketServer::onTextMessageReceived(QString message) {
|
||||
qDebug() << "Received message:" << message;
|
||||
|
||||
|
||||
for (QWebSocket *client : qAsConst(m_clients)) {
|
||||
for (QWebSocket *client : std::as_const(m_clients)) {
|
||||
if (client->isValid())
|
||||
client->sendTextMessage(message);
|
||||
}
|
||||
@@ -58,7 +59,7 @@ void WebSocketServer::onSocketDisconnected() {
|
||||
void WebSocketServer::sendMessage(QString message)
|
||||
{
|
||||
qDebug() << "sendMessage";
|
||||
for (QWebSocket *client : qAsConst(m_clients)) {
|
||||
for (QWebSocket *client : std::as_const(m_clients)) {
|
||||
if (client->isValid())
|
||||
client->sendTextMessage(message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user