Skip to content

Commit

Permalink
Add empty init for node
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed May 17, 2024
1 parent d360d2b commit 457f944
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/libsemigroups/aho-corasick.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ namespace libsemigroups {

Node& init(index_type parent, letter_type a) noexcept;

Node& init() noexcept {
return init(UNDEFINED, UNDEFINED);
}

[[nodiscard]] index_type child(letter_type a) const;

[[nodiscard]] size_t height() const noexcept {
Expand Down

0 comments on commit 457f944

Please sign in to comment.