summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/querynodes_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-17 04:09:47 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-17 04:09:47 +0100
commitc3947c40abbdc0d12c789b794f43c5b3b85afffb (patch)
tree90a656f917c166026925661f94ab6cf8ca9ab503 /searchcore/src/tests/proton/matching/querynodes_test.cpp
parent8e5629fcfa8da53aed44d2778ec5efbfcea017dd (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.cpp5
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);
}
};