summaryrefslogtreecommitdiff
path: root/src/net/SocketAddress.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/SocketAddress.hxx')
-rw-r--r--src/net/SocketAddress.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/SocketAddress.hxx b/src/net/SocketAddress.hxx
index ac934e431..6a75352ac 100644
--- a/src/net/SocketAddress.hxx
+++ b/src/net/SocketAddress.hxx
@@ -74,7 +74,7 @@ public:
return address == nullptr;
}
- const struct sockaddr *GetAddress() const noexcept {
+ constexpr const struct sockaddr *GetAddress() const noexcept {
return address;
}