mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
SF [2851197] IPAddress ctor throw keyword missing
This commit is contained in:
@@ -502,7 +502,8 @@ IPAddress::IPAddress(Family family): _pImpl(0)
|
||||
else if (family == IPv6)
|
||||
_pImpl = new IPv6AddressImpl();
|
||||
#endif
|
||||
else Poco::InvalidArgumentException("Invalid or unsupported address family passed to IPAddress()");
|
||||
else
|
||||
throw Poco::InvalidArgumentException("Invalid or unsupported address family passed to IPAddress()");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user