aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/searchvisitor/hitcollector.h
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/hitcollector.h')
-rw-r--r--streamingvisitors/src/vespa/searchvisitor/hitcollector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/hitcollector.h b/streamingvisitors/src/vespa/searchvisitor/hitcollector.h
index d6a05dc4f9e..6ce7459adfd 100644
--- a/streamingvisitors/src/vespa/searchvisitor/hitcollector.h
+++ b/streamingvisitors/src/vespa/searchvisitor/hitcollector.h
@@ -70,7 +70,7 @@ private:
std::vector<search::fef::TermFieldMatchData> _matchData;
vespalib::string _sortBlob;
};
- typedef std::vector<Hit> HitVector;
+ using HitVector = std::vector<Hit>;
HitVector _hits;
bool _sortedByDocId; // flag for whether the hit vector is sorted on docId
@@ -79,7 +79,7 @@ private:
bool addHit(Hit && hit);
public:
- typedef std::unique_ptr<HitCollector> UP;
+ using UP = std::unique_ptr<HitCollector>;
struct IRankProgram {
virtual ~IRankProgram() {}