diff --git a/src/network/socket_address.hpp b/src/network/socket_address.hpp index 4b9c5911f..75c3c9922 100644 --- a/src/network/socket_address.hpp +++ b/src/network/socket_address.hpp @@ -46,10 +46,7 @@ class SocketAddress { private: - // We need to have a biggest size to hold all type of sockaddr - static_assert(sizeof(sockaddr_in6) > sizeof(sockaddr_in), - "Invalid sockaddr size"); - std::array m_sockaddr; + std::array m_sockaddr; short m_family; public: