net/SocketAddress: add more "noexcept"

This commit is contained in:
Max Kellermann
2017-05-17 12:21:36 +02:00
parent 0195d5590f
commit c629ac7168
2 changed files with 11 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ SocketAddress::operator==(SocketAddress other) const noexcept
#ifdef HAVE_TCP
unsigned
SocketAddress::GetPort() const
SocketAddress::GetPort() const noexcept
{
if (IsNull())
return 0;