fix API compatibility for const Poco::Net::IPAddress& Poco::Net::NetworkInterface::address(unsigned int = 0) const
This commit is contained in:
Родитель
1e5e050471
Коммит
6cfbb73e6f
|
@ -153,7 +153,7 @@ public:
|
||||||
const IPAddress& firstAddress(IPAddress::Family family) const;
|
const IPAddress& firstAddress(IPAddress::Family family) const;
|
||||||
/// Returns the first IP address bound to the interface.
|
/// Returns the first IP address bound to the interface.
|
||||||
|
|
||||||
const IPAddress& address(unsigned index) const;
|
const IPAddress& address(unsigned index = 0) const;
|
||||||
/// Returns the IP address bound to the interface at index position.
|
/// Returns the IP address bound to the interface at index position.
|
||||||
|
|
||||||
void addAddress(const IPAddress& address);
|
void addAddress(const IPAddress& address);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче