X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdirectorycollection.h;h=a796054b43569d4892e919ec5a337c4daba25409;hb=60e8000566e2b1510ccd52697793ab049b62b07c;hp=cbaffd65532d048735edabaef6610533ced96c01;hpb=92bcf7a5e69a7c8e6055a77a39f356c293b89445;p=libs%2Fdatafile.git diff --git a/source/directorycollection.h b/source/directorycollection.h index cbaffd6..a796054 100644 --- a/source/directorycollection.h +++ b/source/directorycollection.h @@ -13,9 +13,6 @@ A Collection that can automatically load items from files in a directory. class DirectoryCollection: public Collection { private: - template::value> - class ItemLoader; - std::list dirs; public: @@ -57,24 +54,6 @@ protected: bool lookup_file(const std::string &, FS::Path &) const; }; -template -class DirectoryCollection::ItemLoader: public T::Loader -{ -public: - ItemLoader(T &o, Collection &): - T::Loader(o) - { } -}; - -template -class DirectoryCollection::ItemLoader: public T::Loader -{ -public: - ItemLoader(T &o, Collection &c): - T::Loader(o, dynamic_cast(c)) - { } -}; - } // namespace DataFile } // namespace Msp