summaryrefslogtreecommitdiff
path: root/content/string/trie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/string/trie.cpp')
-rw-r--r--content/string/trie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/string/trie.cpp b/content/string/trie.cpp
index 03cf947..d5e092c 100644
--- a/content/string/trie.cpp
+++ b/content/string/trie.cpp
@@ -3,7 +3,7 @@ constexpr int ALPHABET_SIZE = 2;
struct node {
int words, ends;
array<int, ALPHABET_SIZE> nxt;
- node() : words(0), ends(0) {fill(all(nxt), -1);}
+ node(): words(0), ends(0) { fill(all(nxt), -1); }
};
vector<node> trie = {node()};