]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket.cpp
Use default member initializers where possible
[libs/net.git] / source / net / socket.cpp
index 9fd468ef84111175c620dc216932c1c387bbac26..a983a2ec2a6e115c11a5e731b885645cfcbbfcff 100644 (file)
@@ -11,8 +11,7 @@ namespace Msp {
 namespace Net {
 
 Socket::Socket(const Private &p):
-       priv(new Private),
-       local_addr(0)
+       priv(new Private)
 {
        mode = IO::M_RDWR;
 
@@ -26,8 +25,7 @@ Socket::Socket(const Private &p):
 }
 
 Socket::Socket(Family af, int type, int proto):
-       priv(new Private),
-       local_addr(0)
+       priv(new Private)
 {
        mode = IO::M_RDWR;