diff options
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp b/searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp index 17353f89fd2..df01ae0fc02 100644 --- a/searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdbconfig/documentdbconfig_test.cpp @@ -30,7 +30,7 @@ const vespalib::string type_name = "test"; const vespalib::string header_name = type_name + ".header"; const vespalib::string body_name = type_name + ".body"; -DocumentTypeRepo::SP +std::shared_ptr<const DocumentTypeRepo> makeDocTypeRepo(bool hasField) { DocumenttypesConfigBuilderHelper builder; @@ -49,7 +49,7 @@ private: test::DocumentDBConfigBuilder _builder; public: - MyConfigBuilder(int64_t generation, const Schema::SP &schema, const DocumentTypeRepo::SP &repo) + MyConfigBuilder(int64_t generation, const Schema::SP &schema, const std::shared_ptr<const DocumentTypeRepo> &repo) : _builder(generation, schema, "client", "test") { _builder.repo(repo); @@ -101,7 +101,7 @@ public: struct Fixture { Schema::SP schema; - DocumentTypeRepo::SP repo; + std::shared_ptr<const DocumentTypeRepo> repo; ConfigSP basicCfg; ConfigSP fullCfg; ConfigSP replayCfg; |