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.7 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>
This commit is contained in:
parent
1941c11b6a
commit
f24a03a22a
@ -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