summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-09-11 19:49:36 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-09-11 19:49:36 +0000
commitfb41612243f07ee6faaca02f70d09d4501c24bb1 (patch)
treec17b625bb03eda91ae23f46151d1bef803864b7b /src
parentb9ca395bdade623ccfc58e92a98e90bf7eae6f17 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Simplex_tree/include/gudhi/Simplex_tree.h2
1 files changed, 1 insertions, 1 deletions
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;