diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 5c4c6219b..3557f5eb6 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -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 {