From 730a065e0d6b4174cf7461fc2a287640fd98dc2f Mon Sep 17 00:00:00 2001 From: Benny Baumann <BenBE@geshi.org> Date: Wed, 4 Jan 2023 05:17:14 +0100 Subject: [PATCH] Provide default constructor for rmrf::net::socketaddr --- src/net/socketaddress.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/socketaddress.hpp b/src/net/socketaddress.hpp index ccb0c76..f7d0a9a 100644 --- a/src/net/socketaddress.hpp +++ b/src/net/socketaddress.hpp @@ -58,7 +58,7 @@ private: socklen_t len; public: - socketaddr(); + socketaddr() = default; template <typename T, typename std::enable_if<has_field<T>::value, T>::type * = nullptr> explicit socketaddr(T *other) : addr{}, len{} { -- GitLab