mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
[Fix-Warnings] Remove more redundant empty declarations. (extra semicolons) (#6374)
This commit is contained in:
parent
858361e6d3
commit
8abd04dab1
21 changed files with 37 additions and 37 deletions
|
|
@ -177,7 +177,7 @@ public:
|
|||
QString getConnectionType() const
|
||||
{
|
||||
return "tcp";
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
QTcpSocket *socket;
|
||||
|
|
@ -190,11 +190,11 @@ protected:
|
|||
void writeToSocket(QByteArray &data)
|
||||
{
|
||||
socket->write(data);
|
||||
};
|
||||
}
|
||||
void flushSocket()
|
||||
{
|
||||
socket->flush();
|
||||
};
|
||||
}
|
||||
void initSessionDeprecated();
|
||||
bool initTcpSession();
|
||||
protected slots:
|
||||
|
|
@ -224,7 +224,7 @@ public:
|
|||
QString getConnectionType() const
|
||||
{
|
||||
return "websocket";
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
QWebSocket *socket;
|
||||
|
|
@ -234,11 +234,11 @@ protected:
|
|||
void writeToSocket(QByteArray &data)
|
||||
{
|
||||
socket->sendBinaryMessage(data);
|
||||
};
|
||||
}
|
||||
void flushSocket()
|
||||
{
|
||||
socket->flush();
|
||||
};
|
||||
}
|
||||
bool initWebsocketSession();
|
||||
protected slots:
|
||||
void binaryMessageReceived(const QByteArray &message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue