Skip to content

Commit 3a74281

Browse files
committed
fix compile error
1 parent ae01853 commit 3a74281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/trees/ladder_decomposition/linear_kth_par.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ template<int KAPPA = 2> struct linear_kth_par {
2525
jmp[t] = st[max(0, siz - KAPPA * (t & -t))];
2626
t++;
2727
};
28-
auto dfs = [&](auto&& self, int v, int p) {
28+
auto dfs = [&](auto&& self, int v, int p) -> void {
2929
st[d[v]] = v;
3030
int& l = leaf[v] = v;
3131
pos[v] = t;

0 commit comments

Comments
 (0)