diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 704714fc5..ce8d655bf 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1213,7 +1213,7 @@ class Simplex_tree { return filtration(sh) == Filtration_simplex_base_real::get_infinity(); }); } else { - initialize_filtration(is_before_in_totally_ordered_filtration(this), [](Simplex_handle sh) -> bool { + initialize_filtration(is_before_in_totally_ordered_filtration(this), [](Simplex_handle) -> bool { return false; }); }