diff options
Diffstat (limited to 'searchlib/src/tests')
3 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/diskindex/fusion/fusion_test.cpp b/searchlib/src/tests/diskindex/fusion/fusion_test.cpp index 4c62140b731..ac7bfc63a15 100644 --- a/searchlib/src/tests/diskindex/fusion/fusion_test.cpp +++ b/searchlib/src/tests/diskindex/fusion/fusion_test.cpp @@ -73,7 +73,7 @@ namespace { void myPushDocument(DocumentInverter &inv) { - inv.pushDocuments(std::shared_ptr<IDestructorCallback>()); + inv.pushDocuments(std::shared_ptr<vespalib::IDestructorCallback>()); } } diff --git a/searchlib/src/tests/memoryindex/field_index/field_index_test.cpp b/searchlib/src/tests/memoryindex/field_index/field_index_test.cpp index d7b515c29e0..0deb9893dae 100644 --- a/searchlib/src/tests/memoryindex/field_index/field_index_test.cpp +++ b/searchlib/src/tests/memoryindex/field_index/field_index_test.cpp @@ -416,7 +416,7 @@ myremove(uint32_t docId, DocumentInverter &inv, { inv.removeDocument(docId); invertThreads.sync(); - inv.pushDocuments(std::shared_ptr<IDestructorCallback>()); + inv.pushDocuments(std::shared_ptr<vespalib::IDestructorCallback>()); } class MyDrainRemoves : IFieldIndexRemoveListener { @@ -442,7 +442,7 @@ public: void myPushDocument(DocumentInverter &inv) { - inv.pushDocuments(std::shared_ptr<IDestructorCallback>()); + inv.pushDocuments(std::shared_ptr<vespalib::IDestructorCallback>()); } const FeatureStore * diff --git a/searchlib/src/tests/transactionlog/chunks_test.cpp b/searchlib/src/tests/transactionlog/chunks_test.cpp index a3cf9f8bd92..aeee8a7a374 100644 --- a/searchlib/src/tests/transactionlog/chunks_test.cpp +++ b/searchlib/src/tests/transactionlog/chunks_test.cpp @@ -77,7 +77,7 @@ TEST("test empty commitchunk") { EXPECT_EQUAL(0u, cc.getNumCallBacks()); } -struct Counter : public search::IDestructorCallback { +struct Counter : public vespalib::IDestructorCallback { std::atomic<uint32_t> & _counter; Counter(std::atomic<uint32_t> & counter) noexcept : _counter(counter) { _counter++; } ~Counter() override { _counter--; } |