]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/imageloader.h
Avoid using std::list
[libs/gui.git] / source / graphics / imageloader.h
index 65f3c5679e2b41b66fd4d964a7a5f9a4aa2762b9..53c9e7b7c88ffe04c5fc5ad098cc14ac7acafaf2 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: