Skip to content

Commit

Permalink
Make QHttpNetworkConnectionPrivate::parseRedirectResponse static
Browse files Browse the repository at this point in the history
We will use it without holding an instance later. And there's
no reason it is not static already.

Change-Id: I06d455bb2852244c8a4993ea75ceda4e1cb679fb
Reviewed-by: Edward Welbourne <[email protected]>
  • Loading branch information
Morten242 committed Oct 18, 2023
1 parent d3edc8a commit 478df0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/access/qhttpnetworkconnection_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class QHttpNetworkConnectionPrivate : public QObjectPrivate
QUrl redirectUrl;
QNetworkReply::NetworkError errorCode;
};
ParseRedirectResult parseRedirectResponse(QHttpNetworkReply *reply);
static ParseRedirectResult parseRedirectResponse(QHttpNetworkReply *reply);
// Used by the HTTP1 code-path
QUrl parseRedirectResponse(QAbstractSocket *socket, QHttpNetworkReply *reply);

Expand Down

0 comments on commit 478df0c

Please sign in to comment.