X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Fsocket.h;h=c55a5390a673d868b51d9e52a9675fee18f79b79;hb=e900bb4a8fe086fac55ffe51c75915be0003c5e4;hp=6e0a497a08d855db1fcb506dc9c91ebfb2eb9a50;hpb=6625cf0e574406425c35d33110f8d99617e902df;p=libs%2Fnet.git diff --git a/source/net/socket.h b/source/net/socket.h index 6e0a497..c55a539 100644 --- a/source/net/socket.h +++ b/source/net/socket.h @@ -30,8 +30,8 @@ protected: struct Private; - Private *priv = 0; - SockAddr *local_addr = 0; + Private *priv = nullptr; + SockAddr *local_addr = nullptr; Socket(const Private &); Socket(Family, int, int); @@ -43,7 +43,7 @@ public: void set_block(bool) override; void set_inherit(bool) override; - const IO::Handle &get_handle(IO::Mode); + const IO::Handle &get_handle(IO::Mode) override; const IO::Handle &get_event_handle() override; /** Associates the socket with a local address. There must be no existing