mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Pass primitive types by value (#935)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <QTcpSocket>
|
||||
#include <QHostAddress>
|
||||
|
||||
JsonClientConnection::JsonClientConnection(QTcpSocket *socket, const bool& localConnection)
|
||||
JsonClientConnection::JsonClientConnection(QTcpSocket *socket, bool localConnection)
|
||||
: QObject()
|
||||
, _socket(socket)
|
||||
, _receiveBuffer()
|
||||
@@ -53,7 +53,7 @@ qint64 JsonClientConnection::sendMessage(QJsonObject message)
|
||||
return _socket->write(data.data(), data.size());
|
||||
}
|
||||
|
||||
void JsonClientConnection::disconnected(void)
|
||||
void JsonClientConnection::disconnected()
|
||||
{
|
||||
emit connectionClosed();
|
||||
}
|
||||
|
Reference in New Issue
Block a user