From: Mikko Rasa Date: Mon, 3 Jun 2019 07:29:35 +0000 (+0300) Subject: Fix test cases so they compile again X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b6fea48ddccac20e2183163be41615fb89699330;p=libs%2Fdatafile.git Fix test cases so they compile again --- diff --git a/tests/collection.cpp b/tests/collection.cpp index 38af5d0..3833d1a 100644 --- a/tests/collection.cpp +++ b/tests/collection.cpp @@ -82,6 +82,7 @@ public: virtual bool is_loadable(const DataFile::CollectionItemTypeBase &, const std::string &) const; virtual NameList get_names(const DataFile::CollectionItemTypeBase &) const; virtual void load(DataFile::Collection &, const DataFile::CollectionItemTypeBase &, const std::string &) const; + virtual IO::Seekable *open(const string &) const { return 0; } }; diff --git a/tests/loader.cpp b/tests/loader.cpp index 60c1499..94bf687 100644 --- a/tests/loader.cpp +++ b/tests/loader.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include diff --git a/tests/parser.cpp b/tests/parser.cpp index 61e7bff..31e034e 100644 --- a/tests/parser.cpp +++ b/tests/parser.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include