Fix warnings from MSVC 2013
qhosaddress.h(88) : warning C4224: nonstandard extension used : formal parameter 'sockaddr' was previously defined as a type Change-Id: I38ee9dcb0d81d5ec4f71c2b50dc4f331eb61e7de Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
parent
4a83ce611d
commit
8e6c8964db
@ -85,7 +85,7 @@ public:
|
||||
explicit QHostAddress(quint32 ip4Addr);
|
||||
explicit QHostAddress(quint8 *ip6Addr);
|
||||
explicit QHostAddress(const Q_IPV6ADDR &ip6Addr);
|
||||
explicit QHostAddress(const sockaddr *sockaddr);
|
||||
explicit QHostAddress(const sockaddr *address);
|
||||
explicit QHostAddress(const QString &address);
|
||||
QHostAddress(const QHostAddress ©);
|
||||
QHostAddress(SpecialAddress address);
|
||||
@ -97,7 +97,7 @@ public:
|
||||
void setAddress(quint32 ip4Addr);
|
||||
void setAddress(quint8 *ip6Addr);
|
||||
void setAddress(const Q_IPV6ADDR &ip6Addr);
|
||||
void setAddress(const sockaddr *sockaddr);
|
||||
void setAddress(const sockaddr *address);
|
||||
bool setAddress(const QString &address);
|
||||
|
||||
QAbstractSocket::NetworkLayerProtocol protocol() const;
|
||||
|
Loading…
Reference in New Issue
Block a user