From 6cfbb73e6f3c7d98ae6e0313e68aaf101d2aa159 Mon Sep 17 00:00:00 2001 From: Marian Krivos Date: Mon, 27 Aug 2012 12:54:49 +0000 Subject: [PATCH] fix API compatibility for const Poco::Net::IPAddress& Poco::Net::NetworkInterface::address(unsigned int = 0) const --- Net/include/Poco/Net/NetworkInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net/include/Poco/Net/NetworkInterface.h b/Net/include/Poco/Net/NetworkInterface.h index 55e4aecf9..17b31b68e 100644 --- a/Net/include/Poco/Net/NetworkInterface.h +++ b/Net/include/Poco/Net/NetworkInterface.h @@ -153,7 +153,7 @@ public: const IPAddress& firstAddress(IPAddress::Family family) const; /// 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. void addAddress(const IPAddress& address);