mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
chore: SecureSocket serviceConnect / serviceAccept make anonymous ISocketMultiplexer a pointer const
This commit is contained in:
parent
bd63d54a9e
commit
7f7e7de841
@ -664,7 +664,7 @@ bool SecureSocket::verifyCertFingerprint(const QString &FingerprintDatabasePath)
|
||||
return true;
|
||||
}
|
||||
|
||||
ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *, bool, bool, bool)
|
||||
ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *const, bool, bool, bool)
|
||||
{
|
||||
Lock lock(&getMutex());
|
||||
|
||||
@ -692,7 +692,7 @@ ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *, boo
|
||||
);
|
||||
}
|
||||
|
||||
ISocketMultiplexerJob *SecureSocket::serviceAccept(ISocketMultiplexerJob *, bool, bool, bool)
|
||||
ISocketMultiplexerJob *SecureSocket::serviceAccept(ISocketMultiplexerJob *const, bool, bool, bool)
|
||||
{
|
||||
Lock lock(&getMutex());
|
||||
|
||||
|
||||
@ -80,9 +80,9 @@ private:
|
||||
void disconnect();
|
||||
bool verifyCertFingerprint(const QString &FingerprintDatabasePath) const;
|
||||
|
||||
ISocketMultiplexerJob *serviceConnect(ISocketMultiplexerJob *, bool, bool, bool);
|
||||
ISocketMultiplexerJob *serviceConnect(ISocketMultiplexerJob *const socket, bool, bool, bool);
|
||||
|
||||
ISocketMultiplexerJob *serviceAccept(ISocketMultiplexerJob *, bool, bool, bool);
|
||||
ISocketMultiplexerJob *serviceAccept(ISocketMultiplexerJob *const socket, bool, bool, bool);
|
||||
|
||||
void handleTCPConnected(const Event &event);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user