aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/juniper/matchobject.h
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-12-21 12:50:50 +0000
committerGeir Storli <geirst@yahooinc.com>2022-12-21 15:49:52 +0000
commit3160d5918d2b8eb18eb4f6c5a6a3cf6d28b868a5 (patch)
treef3f7d7d69984e99c176fc6e1571cc1d7ab393976 /searchsummary/src/vespa/juniper/matchobject.h
parenta3d5e2ce14352ab181e940574f6e1a99d40cd520 (diff)
Change from typedef to using in searchsummary C++ code.
Diffstat (limited to 'searchsummary/src/vespa/juniper/matchobject.h')
-rw-r--r--searchsummary/src/vespa/juniper/matchobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchsummary/src/vespa/juniper/matchobject.h b/searchsummary/src/vespa/juniper/matchobject.h
index 3278448e0f7..5ab90c1a61e 100644
--- a/searchsummary/src/vespa/juniper/matchobject.h
+++ b/searchsummary/src/vespa/juniper/matchobject.h
@@ -8,8 +8,8 @@
#include "reducematcher.h"
#include "ITokenProcessor.h"
-typedef juniper::Result Result;
-typedef ITokenProcessor::Token Token;
+using Result = juniper::Result;
+using Token = ITokenProcessor::Token;
// Reverse length order, longest match first - needed to allow matcher to
// match on the most explicit matches before the more implicit ones
@@ -72,7 +72,7 @@ public:
~MatchObject();
- typedef match_iterator iterator;
+ using iterator = match_iterator;
/** Check if the given string matches any query term in the MatchObject
* @param an iterator that will be updated to iterate over all matching query terms