X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fimageloader.h;h=64a741089d957d95d1bfc9574ae9efc214f78bb3;hb=3c5bbaeadb33d288c0f9e487b52904b7ed7e4319;hp=65f3c5679e2b41b66fd4d964a7a5f9a4aa2762b9;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/graphics/imageloader.h b/source/graphics/imageloader.h index 65f3c56..64a7410 100644 --- a/source/graphics/imageloader.h +++ b/source/graphics/imageloader.h @@ -53,14 +53,14 @@ protected: struct Registry { - std::list loaders; + std::vector 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