net/StaticSocketAddress: add SocketAddress cast constructor
This commit is contained in:
parent
34ec024bf4
commit
35cfa6efa3
|
@ -26,6 +26,10 @@ private:
|
|||
public:
|
||||
StaticSocketAddress() = default;
|
||||
|
||||
explicit StaticSocketAddress(SocketAddress src) noexcept {
|
||||
*this = src;
|
||||
}
|
||||
|
||||
StaticSocketAddress &operator=(SocketAddress other) noexcept;
|
||||
|
||||
constexpr operator SocketAddress() const noexcept {
|
||||
|
|
Loading…
Reference in New Issue