Skip to content

Commit

Permalink
Template traverse_word
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed May 27, 2024
1 parent a176b23 commit 3c651cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/libsemigroups/aho-corasick.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,10 @@ namespace libsemigroups {
//! w.cend())`
//!
//! \sa \ref traverse_word.
template <typename Word>
[[nodiscard]] inline index_type traverse_word(AhoCorasick const& ac,
index_type start,
word_type const& w) {
Word const& w) {
return traverse_word(ac, start, w.cbegin(), w.cend());
}

Expand Down

0 comments on commit 3c651cf

Please sign in to comment.