net/SocketAddress: make GetAddress() constexpr
This commit is contained in:
parent
2bf5f32224
commit
234a6193bb
@ -74,7 +74,7 @@ public:
|
||||
return address == nullptr;
|
||||
}
|
||||
|
||||
const struct sockaddr *GetAddress() const noexcept {
|
||||
constexpr const struct sockaddr *GetAddress() const noexcept {
|
||||
return address;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user