]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/image.h
Use nullptr instead of 0 for pointers
[libs/gltk.git] / source / image.h
index 026aaca82aebbcc4b326b706d4df052f98ea3d8d..12e77f2a7f6df28f935bcf2c66dac9290913f33f 100644 (file)
@@ -21,12 +21,12 @@ public:
        };
 
 private:
-       const GL::Texture2D *image = 0;
+       const GL::Texture2D *image = nullptr;
        std::string icon_name;
        bool keep_aspect = true;
 
 public:
-       Image(const GL::Texture2D * = 0);
+       Image(const GL::Texture2D * = nullptr);
 
        virtual const char *get_class() const { return "image"; }