diff --git a/Hash_map/benchmark/Hash_map/polyhedron.cpp b/Hash_map/benchmark/Hash_map/polyhedron.cpp index 7dc24ed89c9..89c08f31108 100644 --- a/Hash_map/benchmark/Hash_map/polyhedron.cpp +++ b/Hash_map/benchmark/Hash_map/polyhedron.cpp @@ -26,6 +26,10 @@ typedef boost::graph_traits::vertex_descriptor vertex_descriptor; typedef CGAL::Timer Timer; +template +auto reserve(Map& sm, typename Map::size_type ii) -> decltype(sm.reserve(ii), void()){ + sm.reserve(ii); +} template double fct(int ii, int jj, const std::vector& V, const VPM& vpm, const std::string& s) @@ -35,6 +39,7 @@ double fct(int ii, int jj, const std::vector& V, const VPM& v construct.start(); for(int j=0; j