Skip to content

Commit d7b843c

Browse files
committed
NOLINT GetFuzzyCompletions
1 parent c27e636 commit d7b843c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

keyvi/include/keyvi/dictionary/completion/prefix_completion.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#include <algorithm>
2929
#include <cstddef>
30+
#include <cstdint>
3031
#include <memory>
3132
#include <string>
3233
#include <utility>
@@ -129,6 +130,7 @@ class PrefixCompletion final {
129130
return MatchIterator::EmptyIteratorPair();
130131
}
131132

133+
// NOLINTBEGIN(readability-function-cognitive-complexity)
132134
[[nodiscard]] MatchIterator::MatchIteratorPair GetFuzzyCompletions(const std::string& query,
133135
const int32_t max_edit_distance,
134136
const size_t minimum_exact_prefix = 2) const {
@@ -224,6 +226,7 @@ class PrefixCompletion final {
224226

225227
return MatchIterator::MakeIteratorPair(tfunc, std::move(first_match));
226228
}
229+
// NOLINTEND(readability-function-cognitive-complexity)
227230

228231
private:
229232
fsa::automata_t fsa_;

0 commit comments

Comments
 (0)