From fb41612243f07ee6faaca02f70d09d4501c24bb1 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 11 Sep 2017 19:49:36 +0000 Subject: Code review: remove reference and explicit type (instead of auto) git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/graph_expansion_with_blocker_oracle@2658 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 3ba33efc13a3a650f2c2d20bb803aca3b475603a --- src/Simplex_tree/include/gudhi/Simplex_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index f48dd048..ff6ffa67 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1129,7 +1129,7 @@ class Simplex_tree { bool to_be_inserted = true; Filtration_value filt = simplex->second.filtration(); // If all the boundaries are present, 'next' needs to be inserted - for (auto& border : boundary_simplex_range(simplex)) { + for (Simplex_handle border : boundary_simplex_range(simplex)) { Simplex_handle border_child = find_child(border, next->first); if (border_child == null_simplex()) { to_be_inserted=false; -- cgit v1.2.3