]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/quartz/quartzloader.h
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / quartz / quartzloader.h
index 3e856a98fdeb37ce6685f84457fa245ad6e92b00..73c74c00fc6e58eea38c675b94fe17a2a94781ce 100644 (file)
@@ -11,19 +11,19 @@ class QuartzLoader: public ImageLoader
 private:
        struct Private;
 
-       Private *priv;
+       Private *priv = nullptr;
 
 public:
        QuartzLoader(IO::Seekable &);
-       virtual ~QuartzLoader();
+       ~QuartzLoader();
 
        /* Experimentally found value, works for png and jpeg at least.  8 bytes
        is not enough for Quartz to recognize png. */
        static unsigned get_signature_size() { return 12; }
        static bool detect(const std::string &);
 
-       virtual void load_headers_(Image::Data &);
-       virtual void load_pixels_(Image::Data &);
+       void load_headers_(Image::Data &) override;
+       void load_pixels_(Image::Data &) override;
 };
 
 } // namespace Graphics