1
1

Quadriflow: Fix compilation error with C++17

Unary function has been removed.
Unless I'm missing something subclass is not needed here.
This commit is contained in:
2020-06-18 15:16:47 +02:00
parent b3b445979e
commit 7ae9227794

View File

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