refactor: backport to MinGW 11
This commit is contained in:
parent
1441a869c2
commit
961a6bdf6c
2 changed files with 16 additions and 4 deletions
|
@ -8,9 +8,11 @@
|
|||
class SearchTreeNode {
|
||||
private:
|
||||
WordRefList words_;
|
||||
std::unordered_map<char, SearchTreeNode> children_;
|
||||
std::unordered_map<char, SearchTreeNode *> children_;
|
||||
|
||||
public:
|
||||
~SearchTreeNode();
|
||||
|
||||
void insert(std::string_view partial_word, const std::string *original_word);
|
||||
const SearchTreeNode *find(std::string_view search_term) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue