QNetworkInformation: remove redundant friend declaration
Q_DECLARE_PRIVATE already marks the Private as a friend of the Public class. No need to do it manually. Fixes GCC's -Wredundant-decls. Amends 0875626e22ad4e709ddf505e701a8d699559f5b4. Pick-to: 6.5 Task-number: QTBUG-115583 Change-Id: I26f8a42e375c1377c03fe60ccccadc5d0c3b02c5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit f24a03a22a863eac18a3981973f6a19aef3116f6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
624fd64d1e
commit
2117fc2b16
@ -83,7 +83,6 @@ Q_SIGNALS:
|
||||
|
||||
private:
|
||||
friend struct QNetworkInformationDeleter;
|
||||
friend class QNetworkInformationPrivate;
|
||||
QNetworkInformation(QNetworkInformationBackend *backend);
|
||||
~QNetworkInformation() override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user