diff --git a/Nef_3/include/CGAL/Nef_3/ID_support_handler.h b/Nef_3/include/CGAL/Nef_3/ID_support_handler.h index 33696cc9120..b1c64341c80 100644 --- a/Nef_3/include/CGAL/Nef_3/ID_support_handler.h +++ b/Nef_3/include/CGAL/Nef_3/ID_support_handler.h @@ -18,7 +18,8 @@ #include #include -#include +#include +#include #include #undef CGAL_NEF_DEBUG @@ -48,13 +49,13 @@ class ID_support_handler { struct Handle_pair_hash_function { std::size_t operator() (const Halffacet_pair& p) const { - std::size_t hash = 53; - hash = 97 * hash + Handle_hash_function()(p.f1); - hash = 97 * hash + Handle_hash_function()(p.f2); + std::size_t hash = 0; + boost::hash_combine(hash,Handle_hash_function()(p.f1)); + boost::hash_combine(hash,Handle_hash_function()(p.f2)); return hash; } }; - CGAL::Unique_hash_map f2m; + std::unordered_map f2m; std::map hash; public: