fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+3
-2
@@ -7,6 +7,7 @@
|
||||
* Created by Hannes Fritsche, SLSE, 2017-09-07
|
||||
*/
|
||||
#include "connection_handler.h"
|
||||
#include <utility>
|
||||
|
||||
#include "client_connection.h"
|
||||
#include "WsBiteInterface/Messages/message_transmitter.h"
|
||||
@@ -26,7 +27,7 @@ ConnectionHandler::ConnectionHandler()
|
||||
|
||||
ConnectionHandler::~ConnectionHandler()
|
||||
{
|
||||
for (auto s : qAsConst(m_connections))
|
||||
for (auto s : std::as_const(m_connections))
|
||||
s->disconnect(this);
|
||||
qDeleteAll(m_connections);
|
||||
}
|
||||
@@ -107,7 +108,7 @@ void ConnectionHandler::onDisconnected(ClientConnection *conn)
|
||||
/*
|
||||
void ConnectionHandler::onPositions(const ::WsBiteInterface::Messages::ReplyMessage &positionsCnr)
|
||||
{
|
||||
for (ClientConnection *currentConnection : qAsConst(m_connections))
|
||||
for (ClientConnection *currentConnection : std::as_const(m_connections))
|
||||
currentConnection->addMessage(positionsCnr);
|
||||
}
|
||||
*/
|
||||
Reference in new issue
Block a user