diff options
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp b/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp index bbdabe2d0ef..e8247a52199 100644 --- a/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp +++ b/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp @@ -55,10 +55,10 @@ public: void heartBeat(SerialNum) override { ++_heartbeatCount; } }; -DocumentTypeRepo::SP myGetDocumentTypeRepo() { +std::shared_ptr<const DocumentTypeRepo> myGetDocumentTypeRepo() { Schema schema; DocBuilder builder(schema); - DocumentTypeRepo::SP repo = builder.getDocumentTypeRepo(); + std::shared_ptr<const DocumentTypeRepo> repo = builder.getDocumentTypeRepo(); ASSERT_TRUE(repo.get()); return repo; } |