]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/image.h
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / image.h
index d9f5870bdea53aea092be5c4d5a7e4ca5c90b4d8..3f8f556e85a42fa88e5f7f886918037b3143434e 100644 (file)
@@ -20,8 +20,8 @@ public:
                unsigned width = 0;
                unsigned height = 0;
                unsigned stride = 0;
-               char *owned_pixels = 0;
-               char *pixels = 0;
+               char *owned_pixels = nullptr;
+               char *pixels = nullptr;
 
                Data() = default;
                Data(const Data &);