From 1425c6def156840b359b90b4f32b9c7b8f005731 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 21 Jun 2017 11:51:29 +0200 Subject: Cpp11 initializers: last src root changeset (#6022) * Cpp11 initializers: last src root changeset Finish to migrate all src root folder files to C++11 constructor initializers --- src/socket.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 17fa1924d..d0ab16cab 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -90,9 +90,7 @@ void sockets_cleanup() Address::Address() { - m_addr_family = 0; memset(&m_address, 0, sizeof(m_address)); - m_port = 0; } Address::Address(u32 address, u16 port) -- cgit v1.2.3