Fix compile error: "redefinition; different linkage"

qhttpserverrequest.cpp(56): error C2375: 'operator <<': redefinition;
different linkage

Change-Id: I3fa4c058030e9f81f9c914af10cf740a546a90cc
Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
This commit is contained in:
Mårten Nordheim 2018-10-17 22:42:57 +02:00
parent da100c110a
commit c20d230bf2

View File

@ -86,7 +86,7 @@ protected:
private:
#if !defined(QT_NO_DEBUG_STREAM)
friend QDebug operator<<(QDebug debug, const QHttpServerRequest &request);
friend Q_HTTPSERVER_EXPORT QDebug operator<<(QDebug debug, const QHttpServerRequest &request);
#endif
QHttpServerRequest();