summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-11-02 11:12:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-02 11:28:23 +0100
commit4044210bef15d7f5200764ca06e70bab5c63be0f (patch)
treee3c790713000e9dea926f505d0341f00497d9b78 /src
parent491333701ef4cfe25a25007d2d88aa6361ed2304 (diff)
downloadqtwebsockets-4044210bef15d7f5200764ca06e70bab5c63be0f.tar.gz
Use export keyword in front of << operator
VS is very picky regarding the placement of the export keyword. Change-Id: Ibde3de8e36e57bea854d6d6ff001259b4b0d8e7e Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qwebsockethandshakerequest_p.h2
-rw-r--r--src/websockets/qwebsockethandshakeresponse_p.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/websockets/qwebsockethandshakerequest_p.h b/src/websockets/qwebsockethandshakerequest_p.h
index 9484fd9..2ecd81a 100644
--- a/src/websockets/qwebsockethandshakerequest_p.h
+++ b/src/websockets/qwebsockethandshakerequest_p.h
@@ -88,7 +88,7 @@ public:
private:
QTextStream &readFromStream(QTextStream &textStream);
- friend QTextStream &operator >>(QTextStream &stream, QWebSocketHandshakeRequest &request);
+ Q_AUTOTEST_EXPORT friend QTextStream &operator >>(QTextStream &stream, QWebSocketHandshakeRequest &request);
int m_port;
bool m_isSecure;
diff --git a/src/websockets/qwebsockethandshakeresponse_p.h b/src/websockets/qwebsockethandshakeresponse_p.h
index b9b0c53..3706f65 100644
--- a/src/websockets/qwebsockethandshakeresponse_p.h
+++ b/src/websockets/qwebsockethandshakeresponse_p.h
@@ -104,9 +104,11 @@ private:
const QList<QString> &supportedExtensions);
QTextStream &writeToStream(QTextStream &textStream) const;
- friend QTextStream & Q_AUTOTEST_EXPORT operator <<(QTextStream &stream, const QWebSocketHandshakeResponse &response);
+ Q_AUTOTEST_EXPORT friend QTextStream & operator <<(QTextStream &stream, const QWebSocketHandshakeResponse &response);
};
+Q_AUTOTEST_EXPORT QTextStream & operator <<(QTextStream &stream, const QWebSocketHandshakeResponse &response);
+
QT_END_NAMESPACE
#endif // QWEBSOCKETHANDSHAKERESPONSE_P_H