Skip to content

Commit 955e2f6

Browse files
committed
nit
1 parent b26d127 commit 955e2f6

File tree

1 file changed

+1
-1
lines changed
  • library/data_structures_[l,r]/seg_tree_uncommon

1 file changed

+1
-1
lines changed

library/data_structures_[l,r]/seg_tree_uncommon/walk.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
T walk(int l, int r, function<bool(T)> f) {
1+
T walk(int l, int r, const auto& f) {
22
for (l += n, r += n; l <= r;)
33
if (int u = nxt(l, r); f(s[u])) {
44
while (u < n)

0 commit comments

Comments
 (0)