X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fnet%2Finet6.cpp;h=8ddf1d5cb52248e771dc3e602f75c45f6de16700;hb=6625cf0e574406425c35d33110f8d99617e902df;hp=79da1d2269316e2ab0931f738b2fd160f6d3b773;hpb=debe1004676d5431e571d9c4361072661dcc88c4;p=libs%2Fnet.git diff --git a/source/net/inet6.cpp b/source/net/inet6.cpp index 79da1d2..8ddf1d5 100644 --- a/source/net/inet6.cpp +++ b/source/net/inet6.cpp @@ -1,9 +1,4 @@ -#ifdef WIN32 -#include -#include -#else -#include -#endif +#include "platform_api.h" #include #include "inet6.h" #include "sockaddr_private.h" @@ -13,12 +8,6 @@ using namespace std; namespace Msp { namespace Net { -Inet6Addr::Inet6Addr(): - port(0) -{ - fill(addr, addr+16, 0); -} - Inet6Addr::Inet6Addr(const SysAddr &sa) { const sockaddr_in6 &sai6 = reinterpret_cast(sa.addr);