]> git.tdb.fi Git - libs/datafile.git/commitdiff
Fix test cases so they compile again
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 07:29:35 +0000 (10:29 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 07:29:35 +0000 (10:29 +0300)
tests/collection.cpp
tests/loader.cpp
tests/parser.cpp

index 38af5d0e58eef9364aaf5e8557f5045de625d746..3833d1aa80aff08b1eae046e1f36f2f865c68aaa 100644 (file)
@@ -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; }
 };
 
 
index 60c14997319be4efa8428d69974e9146912b3379..94bf6879fb055e5a276d3a4ef2db73d2d4c7f9b0 100644 (file)
@@ -1,4 +1,4 @@
-#include <msp/datafile/dataerror.h>
+#include <msp/datafile/except.h>
 #include <msp/datafile/loader.h>
 #include <msp/datafile/objectloader.h>
 #include <msp/io/memory.h>
index 61e7bff424ef6bc5f01cedb40f396bb031fd7327..31e034e68e8fc5cae57e9cb60b647caab9b17672 100644 (file)
@@ -1,4 +1,4 @@
-#include <msp/datafile/dataerror.h>
+#include <msp/datafile/except.h>
 #include <msp/datafile/parser.h>
 #include <msp/datafile/statement.h>
 #include <msp/io/memory.h>