diff options
Diffstat (limited to 'extractor/matchings_trie.h')
-rw-r--r-- | extractor/matchings_trie.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extractor/matchings_trie.h b/extractor/matchings_trie.h index a54671d2..f3dcc075 100644 --- a/extractor/matchings_trie.h +++ b/extractor/matchings_trie.h @@ -37,11 +37,14 @@ struct TrieNode { class MatchingsTrie { public: - void Reset(); + MatchingsTrie(); + + virtual ~MatchingsTrie(); + shared_ptr<TrieNode> GetRoot() const; private: - void ResetTree(shared_ptr<TrieNode> root); + void DeleteTree(shared_ptr<TrieNode> root); shared_ptr<TrieNode> root; }; |