diff --git a/Shape_detection/include/CGAL/Shape_detection/Region_growing/internal/utils.h b/Shape_detection/include/CGAL/Shape_detection/Region_growing/internal/utils.h index 926e30c1428..9d70c22c61a 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Region_growing/internal/utils.h +++ b/Shape_detection/include/CGAL/Shape_detection/Region_growing/internal/utils.h @@ -86,13 +86,15 @@ namespace internal { template struct hash_item { std::size_t operator()(T i) const { - return boost::hash_value(i); + using boost::hash_value; + return hash_value(i); } }; template struct hash_item { std::size_t operator()(T i) const { + using boost::hash_value; return boost::hash_value(i.operator->()); } };