summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 033bf4ad6..5ae327d47 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -122,7 +122,7 @@ class ServerInfo final
return *this;
}
- bool isValid() const A_WARN_UNUSED
+ bool isValid() const noexcept2 A_WARN_UNUSED
{
return !(hostname.empty()
|| port == 0