summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qsocks5socketengine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/socket/qsocks5socketengine_p.h')
-rw-r--r--src/network/socket/qsocks5socketengine_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/socket/qsocks5socketengine_p.h b/src/network/socket/qsocks5socketengine_p.h
index 185d973e06..c97b0e89ce 100644
--- a/src/network/socket/qsocks5socketengine_p.h
+++ b/src/network/socket/qsocks5socketengine_p.h
@@ -149,8 +149,8 @@ public:
virtual bool beginAuthenticate(QTcpSocket *socket, bool *completed);
virtual bool continueAuthenticate(QTcpSocket *socket, bool *completed);
- virtual bool seal(const QByteArray buf, QByteArray *sealedBuf);
- virtual bool unSeal(const QByteArray sealedBuf, QByteArray *buf);
+ virtual bool seal(const QByteArray &buf, QByteArray *sealedBuf);
+ virtual bool unSeal(const QByteArray &sealedBuf, QByteArray *buf);
virtual bool unSeal(QTcpSocket *sealedSocket, QByteArray *buf);
virtual QString errorString() { return QString(); }