diff --git a/STL_Extension/include/CGAL/hash_openmesh.h b/STL_Extension/include/CGAL/hash_openmesh.h index 49b0d1278f3..0efbff824c8 100644 --- a/STL_Extension/include/CGAL/hash_openmesh.h +++ b/STL_Extension/include/CGAL/hash_openmesh.h @@ -22,15 +22,20 @@ #include -#ifndef OM_HAS_HASH - -#include +#if OMVERSION < 0x60200 namespace OpenMesh { inline std::size_t hash_value(const BaseHandle& h) { return h.idx(); } } // namespace OpenMesh +#endif + + +#ifndef OM_HAS_HASH + +#include + namespace std {