diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-09-25 13:41:21 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-09-25 13:41:21 +0000 |
commit | 14fb8b9c1ad66df2d646bf5870dca7c5fbe9503f (patch) | |
tree | 1feee44f70d37ee7b464375d7f3d4699227ab83b | |
parent | 407131249caff5928302fcad075f310c5e336cbf (diff) |
Code review : use std::unordered_map instead of std::map
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alpha_complex_3d_module_vincent@3903 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 73dd93e44ea8c4029bffd5e6fb5bcbcb634bb525
-rw-r--r-- | src/Alpha_complex/include/gudhi/Alpha_complex_3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h index 3f145272..42f49e15 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h @@ -52,7 +52,7 @@ #include <iostream> #include <vector> -#include <map> +#include <unordered_map> #include <stdexcept> #include <cstddef> #include <memory> // for std::unique_ptr @@ -445,8 +445,8 @@ public: //using Filtration_value = typename SimplicialComplexForAlpha3d::Filtration_value; using Complex_vertex_handle = typename SimplicialComplexForAlpha3d::Vertex_handle; - using Alpha_shape_simplex_tree_map = std::map<Alpha_vertex_handle, - Complex_vertex_handle>; + using Alpha_shape_simplex_tree_map = std::unordered_map<Alpha_vertex_handle, + Complex_vertex_handle>; using Simplex_tree_vector_vertex = std::vector<Complex_vertex_handle>; #ifdef DEBUG_TRACES |