Network: avoid interface as parameter name

`interface` is used by win32 headers. avoiding it fixes unity builds on
windows.

Pick-to: 6.8
Change-Id: I1d3f89a201f44f6e4eed5977d1b80f675078d430
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 74916280616cca163c8a9fa81eabd40d0b5ba30b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tim Blechmann 2025-04-27 08:25:03 +08:00 committed by Qt Cherry-pick Bot
parent 8866613373
commit e9216d9826

View File

@ -73,9 +73,9 @@ public:
#ifndef QT_NO_UDPSOCKET
#ifndef QT_NO_NETWORKINTERFACE
bool joinMulticastGroup(const QHostAddress &groupAddress,
const QNetworkInterface &interface) override;
const QNetworkInterface &iface) override;
bool leaveMulticastGroup(const QHostAddress &groupAddress,
const QNetworkInterface &interface) override;
const QNetworkInterface &iface) override;
QNetworkInterface multicastInterface() const override;
bool setMulticastInterface(const QNetworkInterface &iface) override;
#endif // QT_NO_NETWORKINTERFACE