diff options
Diffstat (limited to 'searchcore/src/tests/proton/matching/querynodes_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/matching/querynodes_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/matching/querynodes_test.cpp b/searchcore/src/tests/proton/matching/querynodes_test.cpp index 054b70f9b98..ef576c4ac37 100644 --- a/searchcore/src/tests/proton/matching/querynodes_test.cpp +++ b/searchcore/src/tests/proton/matching/querynodes_test.cpp @@ -118,11 +118,12 @@ class ISourceSelectorDummy : public ISourceSelector { public: static SourceStore _sourceStoreDummy; + using Iterator = search::queryeval::sourceselector::Iterator; - static Iterator::UP + static std::unique_ptr<Iterator> makeDummyIterator() { - return Iterator::UP(new Iterator(_sourceStoreDummy)); + return std::make_unique<Iterator>(_sourceStoreDummy); } }; |