From b6fea48ddccac20e2183163be41615fb89699330 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 3 Jun 2019 10:29:35 +0300 Subject: [PATCH] Fix test cases so they compile again --- tests/collection.cpp | 1 + tests/loader.cpp | 2 +- tests/parser.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.45.2