Commit d77b0c7d authored by Max Kellermann's avatar Max Kellermann

net/SocketAddress: add `constexpr`

parent 5cf889b6
......@@ -93,7 +93,7 @@ public:
* Does the object have a well-defined address? Check !IsNull()
* before calling this method.
*/
bool IsDefined() const noexcept {
constexpr bool IsDefined() const noexcept {
return GetFamily() != AF_UNSPEC;
}
......
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