]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/imageloader.h
Use lambdas for comparison functions
[libs/gui.git] / source / graphics / imageloader.h
index 65f3c5679e2b41b66fd4d964a7a5f9a4aa2762b9..64a741089d957d95d1bfc9574ae9efc214f78bb3 100644 (file)
@@ -53,14 +53,14 @@ protected:
 
        struct Registry
        {
-               std::list<RegisterBase *> loaders;
+               std::vector<RegisterBase *> loaders;
                bool changed = false;
 
                ~Registry();
        };
 
 private:
-       IO::Base *source = 0;
+       IO::Base *source = nullptr;
        State state = INITIAL;
 
 protected:
@@ -85,8 +85,6 @@ public:
        static void register_loader();
 private:
        static Registry &get_registry();
-
-       static bool signature_size_compare(RegisterBase *, RegisterBase *);
 };
 
 template<typename T>