Commit 234a6193 authored by Max Kellermann's avatar Max Kellermann

net/SocketAddress: make GetAddress() constexpr

parent 2bf5f322
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
return address == nullptr; return address == nullptr;
} }
const struct sockaddr *GetAddress() const noexcept { constexpr const struct sockaddr *GetAddress() const noexcept {
return address; return address;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment