X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fcollection.h;h=bc84d624b2948c4c9bb46eb1716581de22b8da62;hp=39e6f43b2b3674b12c9d96e4de64f1fc1a2d4e49;hb=a8a205c6a1780780ed7724cf1e401d94b23c898d;hpb=9f7ed91d05f6fc92c2142655b5c815c871d11744 diff --git a/source/collection.h b/source/collection.h index 39e6f43..bc84d62 100644 --- a/source/collection.h +++ b/source/collection.h @@ -1,6 +1,7 @@ #ifndef MSP_DATAFILE_COLLECTION_H_ #define MSP_DATAFILE_COLLECTION_H_ +#include #include #include #include "collectionsource.h" @@ -260,7 +261,8 @@ public: IO::Seekable *open_raw(const std::string &) const; protected: - IO::Seekable *open_from_sources(const std::string &n) { return open_raw(n); } + // Deprecated. Use open_raw instead. + DEPRECATED IO::Seekable *open_from_sources(const std::string &n) { return open_raw(n); } private: void gather_names_from_sources(std::list &, const CollectionItemTypeBase &) const;