mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 00:15:27 +01:00
SF [2851197] IPAddress ctor throw keyword missing
This commit is contained in:
parent
45122ef7e6
commit
5eb44ce36b
@ -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()");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user