Merge pull request #1377 from afabri/BGL-OM_HAS_HASH-GF

hash_value is not defined inside an #ifdef OM_HAS_HASH
This commit is contained in:
Laurent Rineau 2016-09-13 18:11:17 +02:00 committed by GitHub
commit b97b709a8d
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 OM_VERSION < 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 {