summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth2authorizationcodeflow.cpp
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/qoauth2authorizationcodeflow.cpp
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/qoauth2authorizationcodeflow.cpp')
-rw-r--r--src/oauth/qoauth2authorizationcodeflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp
index aaf9614..733866a 100644
--- a/src/oauth/qoauth2authorizationcodeflow.cpp
+++ b/src/oauth/qoauth2authorizationcodeflow.cpp
@@ -62,7 +62,7 @@ using namespace Qt::StringLiterals;
QOAuth2AuthorizationCodeFlowPrivate::QOAuth2AuthorizationCodeFlowPrivate(
const QUrl &authorizationUrl, const QUrl &accessTokenUrl, const QString &clientIdentifier,
QNetworkAccessManager *manager) :
- QAbstractOAuth2Private(qMakePair(clientIdentifier, QString()), authorizationUrl, manager)
+ QAbstractOAuth2Private(std::make_pair(clientIdentifier, QString()), authorizationUrl, manager)
{
tokenUrl = accessTokenUrl;
responseType = QStringLiteral("code");