diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-17 04:09:47 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-17 04:09:47 +0100 |
commit | c3947c40abbdc0d12c789b794f43c5b3b85afffb (patch) | |
tree | 90a656f917c166026925661f94ab6cf8ca9ab503 /searchcore/src/tests/proton/matching/querynodes_test.cpp | |
parent | 8e5629fcfa8da53aed44d2778ec5efbfcea017dd (diff) |
Split the source selector out too.
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); } }; |