mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 00:15:27 +01:00
Linux compile fix
This commit is contained in:
parent
273b9c92f8
commit
e8931a928c
@ -307,7 +307,7 @@ const IPAddress& NetworkInterfaceImpl::findFirstAddress(IPAddress::Family family
|
||||
if (addr.family() == family) return addr;
|
||||
}
|
||||
|
||||
throw NotFoundException(format("%s family address not found.", family == IPAddress::IPv4 ? "IPv4" : "IPv6"));
|
||||
throw NotFoundException(format("%s family address not found.", (family == IPAddress::IPv4) ? std::string("IPv4") : std::string("IPv6")));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user