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 4 years ago
parent b3b445979e
commit 7ae9227794

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