]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/devil/devilloader.h
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / devil / devilloader.h
index 3cba0d5a56f358c7b13a4832698798efe4051b89..beab02fe7c95c8b7fec9a3ce18a224f58cfc62ff 100644 (file)
@@ -10,16 +10,17 @@ class DevilLoader: public ImageLoader
 {
 private:
        IO::Base &io;
-       unsigned id;
+       unsigned id = 0;
 
 public:
        DevilLoader(IO::Seekable &);
-       virtual ~DevilLoader();
+       ~DevilLoader();
 
        static unsigned get_signature_size() { return 128; }
        static bool detect(const std::string &);
 
-       virtual void load_(Image::Data &);
+       void load_headers_(Image::Data &) override;
+       void load_pixels_(Image::Data &) override;
 };
 
 } // namespace Graphics