From d33b46724e3c1ef0ab210a19a04e380e08a5749e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 22 Jul 2022 11:52:24 +0200 Subject: [PATCH] ADL can be used with hash_value() --- .../CGAL/Shape_detection/Region_growing/internal/utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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->()); } };