hash_value is not defined inside an #ifdef OM_HAS_HASH

This commit is contained in:
Andreas Fabri 2016-08-29 23:25:06 +02:00
parent 9257b803a2
commit 26de0fbb05
1 changed files with 8 additions and 3 deletions

View File

@ -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 {