diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-09-04 11:50:20 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-09-04 11:50:20 +0000 |
commit | c71a91c4192c82c464c8300a1b7b2e9de8fb2ca9 (patch) | |
tree | 8b53c1c70212557b317e2ead70bcaf90ead52e24 | |
parent | 0af6f948dc2efcf046176e8fcb407e36ac91e7a7 (diff) |
constify ref
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@773 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 952881703aa1868554a21caed9302df5b98fea31
-rw-r--r-- | src/Simplex_tree/include/gudhi/Simplex_tree.h | 2 |
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 b38e5813..5588cafd 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -501,7 +501,7 @@ class Simplex_tree { private: /** Find function, with a sorted range of vertices. */ - Simplex_handle find_simplex(std::vector<Vertex_handle> & simplex) { + Simplex_handle find_simplex(const std::vector<Vertex_handle> & simplex) { Siblings * tmp_sib = &root_; Dictionary_it tmp_dit; Vertex_handle last = simplex[simplex.size() - 1]; |