mirror of https://github.com/CGAL/cgal
hash_value is not defined inside an #ifdef OM_HAS_HASH
This commit is contained in:
parent
9257b803a2
commit
26de0fbb05
|
|
@ -22,15 +22,20 @@
|
|||
|
||||
#include <OpenMesh/Core/Mesh/Handles.hh>
|
||||
|
||||
#ifndef OM_HAS_HASH
|
||||
|
||||
#include <functional>
|
||||
#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 <functional>
|
||||
|
||||
|
||||
namespace std {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue