chore: SecureSocket serviceConnect / serviceAccept make anonymous ISocketMultiplexer a pointer const
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user