diff options
Diffstat (limited to 'src/websockets/qwebsocketframe.cpp')
-rw-r--r-- | src/websockets/qwebsocketframe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsocketframe.cpp b/src/websockets/qwebsocketframe.cpp index 9765027..7c50e81 100644 --- a/src/websockets/qwebsocketframe.cpp +++ b/src/websockets/qwebsocketframe.cpp @@ -523,7 +523,7 @@ QWebSocketFrame QWebSocketFrame::readFrame(QIODevice *pIoDevice) /*! \internal */ -void QWebSocketFrame::setError(QWebSocketProtocol::CloseCode code, QString closeReason) +void QWebSocketFrame::setError(QWebSocketProtocol::CloseCode code, const QString &closeReason) { clear(); m_closeCode = code; |