summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp')
-rw-r--r--searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp b/searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp
index d94fd12e532..c5c0ea9a528 100644
--- a/searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp
+++ b/searchlib/src/tests/queryeval/weak_and_scorers/weak_and_scorers_test.cpp
@@ -8,7 +8,7 @@ using namespace search::queryeval;
using search::fef::TermFieldMatchData;
using search::fef::TermFieldMatchDataPosition;
-typedef wand::Term Term;
+using Term = wand::Term;
struct TestIterator : public SearchIterator
{
@@ -18,7 +18,7 @@ struct TestIterator : public SearchIterator
TermFieldMatchData _tfmd;
uint32_t _unpackDocId;
- typedef std::unique_ptr<TestIterator> UP;
+ using UP = std::unique_ptr<TestIterator>;
TestIterator(int32_t maxWeight, int32_t termWeight, bool useInfo)
: _info(0, maxWeight),
_termWeight(termWeight),