summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauthhttpserverreplyhandler_p.h
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2024-12-18 11:00:44 +0100
committerIvan Solovev <ivan.solovev@qt.io>2024-12-19 09:31:26 +0100
commit14dd62b48c28805678183e005806bb86207920c4 (patch)
tree11a9082c446de177a66423cda6c14efb49171527 /src/oauth/qoauthhttpserverreplyhandler_p.h
parente260265a0f11b9d5cc55b89271f3cd24bbce3716 (diff)
Get rid of QPair and mark the module as QPair free
Amends 8e5e1012f9a9a9f01a12f631a3ed34570b6a4c5c which only cleaned up the public headers. Task-number: QTBUG-115841 Pick-to: 6.9 6.8 Change-Id: I16399e3ced49b91134e68c351f190720f88c3044 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'src/oauth/qoauthhttpserverreplyhandler_p.h')
-rw-r--r--src/oauth/qoauthhttpserverreplyhandler_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oauth/qoauthhttpserverreplyhandler_p.h b/src/oauth/qoauthhttpserverreplyhandler_p.h
index c13a880..fa11cb3 100644
--- a/src/oauth/qoauthhttpserverreplyhandler_p.h
+++ b/src/oauth/qoauthhttpserverreplyhandler_p.h
@@ -25,6 +25,8 @@
#include <QtNetwork/qhostaddress.h>
#include <QtNetwork/qtcpserver.h>
+#include <utility>
+
QT_BEGIN_NAMESPACE
class QOAuthHttpServerReplyHandlerPrivate
@@ -79,7 +81,7 @@ private:
Delete,
} method = Method::Unknown;
QUrl url;
- QPair<quint8, quint8> version;
+ std::pair<quint8, quint8> version;
QMap<QByteArray, QByteArray> headers;
};