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>
|
#include <OpenMesh/Core/Mesh/Handles.hh>
|
||||||
|
|
||||||
#ifndef OM_HAS_HASH
|
#if OMVERSION < 0x60200
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
namespace OpenMesh {
|
namespace OpenMesh {
|
||||||
|
|
||||||
inline std::size_t hash_value(const BaseHandle& h) { return h.idx(); }
|
inline std::size_t hash_value(const BaseHandle& h) { return h.idx(); }
|
||||||
|
|
||||||
} // namespace OpenMesh
|
} // namespace OpenMesh
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef OM_HAS_HASH
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue