Skip to content

Commit 39542d6

Browse files
committed
c++20 nit
1 parent c1efed1 commit 39542d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/strings/trie.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct trie {
55
struct node {
66
array<int, 26> next;
77
bool end_of_word = 0;
8-
node() { fill(all(next), -1); }
8+
node() { ranges::fill(next, -1); }
99
};
1010
deque<node> t;
1111
trie(): t(1) {}

0 commit comments

Comments
 (0)