Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dronplane committed Jan 10, 2024
1 parent 4de640a commit 9d15d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/analysis/multi_delimited_token_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ void InsertErrorTransitions(const std::vector<bstring>& strings,
return;
}

for (size_t k = 0; k <= std::numeric_limits<byte>::max(); k++) {
for (size_t k = 0; k <= std::numeric_limits<byte_type>::max(); k++) {
if (auto it = node->simple_trie.find(k); it != node->simple_trie.end()) {
node->real_trie.emplace(k, it->second);
matched_word.push_back(k);
Expand Down

0 comments on commit 9d15d93

Please sign in to comment.