]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/communicator.h
Use nullptr instead of 0 for pointers
[libs/net.git] / source / net / communicator.h
index 322d095a8ec3d1c1df5b258c25f65b3c88a713fa..822b16ef998dbd706d1ea1617950175d488496ca 100644 (file)
@@ -35,10 +35,10 @@ private:
        ReceiverBase &receiver;
        int handshake_status = 0;
        std::size_t buf_size = 65536;
-       char *in_buf = 0;
-       char *in_begin = 0;
-       char *in_end = 0;
-       char *out_buf = 0;
+       char *in_buf = nullptr;
+       char *in_begin = nullptr;
+       char *in_end = nullptr;
+       char *out_buf = nullptr;
        bool good = true;
 
 public: