Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Jun 3, 2024
1 parent 3454209 commit aee31d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyvi/include/keyvi/dictionary/dictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ class Dictionary final {
return MatchIterator::MakeIteratorPair(tfunc, std::move(first_match));
}

MatchIterator::MatchIteratorPair GetNear(const uint64_t state, const std::string& key, const size_t minimum_prefix_length,
const bool greedy = false) const {
MatchIterator::MatchIteratorPair GetNear(const uint64_t state, const std::string& key,
const size_t minimum_prefix_length, const bool greedy = false) const {
auto data = std::make_shared<matching::NearMatching<>>(
matching::NearMatching<>::FromSingleFsa(fsa_, state, key, minimum_prefix_length, greedy));

Expand Down
1 change: 1 addition & 0 deletions keyvi/include/keyvi/dictionary/matching/near_matching.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class NearMatching final {

return match_t();
}

private:
std::unique_ptr<innerTraverserType> traverser_ptr_;
const std::string exact_prefix_;
Expand Down

0 comments on commit aee31d7

Please sign in to comment.