We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b67377 commit 43fa746Copy full SHA for 43fa746
src/0208-Implement-Trie-(Prefix-Tree)/0208.cpp
@@ -6,7 +6,7 @@ class Node
6
Node() : isWord(false){}
7
~Node()
8
{
9
- for (const auto& item : _next) delete item.second;
+ for (const auto& item : next) delete item.second;
10
}
11
12
bool isWord;
0 commit comments