diff --git a/intern/quadriflow/quadriflow_capi.cpp b/intern/quadriflow/quadriflow_capi.cpp index 302c7a0ae30..53237289874 100644 --- a/intern/quadriflow/quadriflow_capi.cpp +++ b/intern/quadriflow/quadriflow_capi.cpp @@ -49,7 +49,7 @@ struct ObjVertex { } }; -struct ObjVertexHash : std::unary_function { +struct ObjVertexHash { std::size_t operator()(const ObjVertex &v) const { size_t hash = std::hash()(v.p);