X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Finet6.cpp;h=8ddf1d5cb52248e771dc3e602f75c45f6de16700;hb=6625cf0e574406425c35d33110f8d99617e902df;hp=f33ed182305882d4753d2365116d31e4163a7263;hpb=136c9eec2b72bfad4788908de5552fbd62216148;p=libs%2Fnet.git diff --git a/source/net/inet6.cpp b/source/net/inet6.cpp index f33ed18..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);