aho_corasick icon indicating copy to clipboard operation
aho_corasick copied to clipboard

Insert function doesn't work well

Open bnovik0v opened this issue 3 years ago • 1 comments

https://github.com/cjgdev/aho_corasick/blob/b4fb360ef2764bf0cd22daaa62dd4bfd18b8ad0c/src/aho_corasick/aho_corasick.hpp#L463

I've found you got an error when adding items using iterators

it should be:

for (InputIterator it = first; it != last; ++it) { 

bnovik0v avatar Aug 17 '21 10:08 bnovik0v

I came here to say the same thing :)

bwedding avatar Jan 24 '23 14:01 bwedding