Browse Source

Quadriflow: Fix compilation error with C++17

Unary function has been removed.
Unless I'm missing something subclass is not needed here.
master
Sergey Sharybin 2 years ago
parent
commit
7ae9227794
  1. 2
      intern/quadriflow/quadriflow_capi.cpp

2
intern/quadriflow/quadriflow_capi.cpp

@ -49,7 +49,7 @@ struct ObjVertex {
}
};
struct ObjVertexHash : std::unary_function<ObjVertex, size_t> {
struct ObjVertexHash {
std::size_t operator()(const ObjVertex &v) const
{
size_t hash = std::hash<uint32_t>()(v.p);

Loading…
Cancel
Save