summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2023-09-18 13:26:41 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2023-09-18 13:26:41 +0000
commit4a004d2e8d472c660cc9c2b73ee637c5247968da (patch)
treec2c7a47f230b05e6603f54e73d69e6628830d4c2
parenta51ec7e464737d864924139c06d932d71275d20a (diff)
Update `match()` call in `DfaFuzzyMatcher` to use ref instead of ptr
-rw-r--r--searchlib/src/vespa/searchlib/attribute/dfa_fuzzy_matcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/dfa_fuzzy_matcher.h b/searchlib/src/vespa/searchlib/attribute/dfa_fuzzy_matcher.h
index 072eb5e1333..6b873020994 100644
--- a/searchlib/src/vespa/searchlib/attribute/dfa_fuzzy_matcher.h
+++ b/searchlib/src/vespa/searchlib/attribute/dfa_fuzzy_matcher.h
@@ -25,7 +25,7 @@ public:
template <typename DictionaryConstIteratorType>
bool is_match(const char* word, DictionaryConstIteratorType& itr, const DfaStringComparator::DataStoreType& data_store) {
- auto match = _dfa.match(word, &_successor);
+ auto match = _dfa.match(word, _successor);
if (match.matches()) {
return true;
} else {