]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/buffered.h
Use nullptr instead of 0 for pointers
[libs/core.git] / source / io / buffered.h
index 39c8159ff18c7fa091b8f91c4ab898d0bd36b880..a5f6348591304712335d6654a183eed518ee9e62 100644 (file)
@@ -12,9 +12,9 @@ class Buffered: public Base, public sigc::trackable
 private:
        Base &below;
        std::size_t buf_size = 0;
-       char *buf = 0;
-       char *begin = 0;
-       char *end = 0;
+       char *buf = nullptr;
+       char *begin = nullptr;
+       char *end = nullptr;
        Mode cur_op = M_NONE;
 
 public: