chore: SecureSocket serviceConnect / serviceAccept make anonymous ISocketMultiplexer a pointer const
This commit is contained in:
parent
bd63d54a9e
commit
7f7e7de841
2 changed files with 4 additions and 4 deletions
|
|
@ -664,7 +664,7 @@ bool SecureSocket::verifyCertFingerprint(const QString &FingerprintDatabasePath)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *, bool, bool, bool)
|
ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *const, bool, bool, bool)
|
||||||
{
|
{
|
||||||
Lock lock(&getMutex());
|
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());
|
Lock lock(&getMutex());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,9 +80,9 @@ private:
|
||||||
void disconnect();
|
void disconnect();
|
||||||
bool verifyCertFingerprint(const QString &FingerprintDatabasePath) const;
|
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);
|
void handleTCPConnected(const Event &event);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue