]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/zlibcompressed.h
Use nullptr instead of 0 for pointers
[libs/core.git] / source / io / zlibcompressed.h
index da7313b4c42a62a3838045b0737eefbb919f7044..7a7973425bdcc573f48b65b838b062adf416b6d5 100644 (file)
@@ -35,10 +35,10 @@ private:
 
        Base &below;
        std::size_t buffer_size = 1024;
-       unsigned char *in_buffer = 0;
-       unsigned char *out_buffer = 0;
+       unsigned char *in_buffer = nullptr;
+       unsigned char *out_buffer = nullptr;
        bool stream_end = false;
-       Private *priv = 0;
+       Private *priv = nullptr;
 
 public:
        /** Creates a zlib de/compression object.  The underlying object must be