]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/inet.cpp
Use default member initializers where possible
[libs/net.git] / source / net / inet.cpp
index 8e75cd89dfb1eb930b3e55a0217a93e42ab03e15..dbbd12d7e5e7e65cb5292a1c5b04592b29cf4c4f 100644 (file)
@@ -8,12 +8,6 @@ using namespace std;
 namespace Msp {
 namespace Net {
 
-InetAddr::InetAddr():
-       port(0)
-{
-       fill(addr, addr+4, 0);
-}
-
 InetAddr::InetAddr(const SysAddr &sa)
 {
        const sockaddr_in &sai = reinterpret_cast<const sockaddr_in &>(sa.addr);