Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-06-18 16:16:47 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-06-19 13:02:21 +0300
commit7ae9227794cb68be7af5cc3b10997fca93a2a76a (patch)
treea6593b1224ddc1b0c25dea18716fdab9191e10d1 /intern/quadriflow/quadriflow_capi.cpp
parentb3b445979e6a7e6cd80f9e5240d1813a25b2f0c1 (diff)
Quadriflow: Fix compilation error with C++17
Unary function has been removed. Unless I'm missing something subclass is not needed here.
Diffstat (limited to 'intern/quadriflow/quadriflow_capi.cpp')
-rw-r--r--intern/quadriflow/quadriflow_capi.cpp2
1 files changed, 1 insertions, 1 deletions
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<ObjVertex, size_t> {
+struct ObjVertexHash {
std::size_t operator()(const ObjVertex &v) const
{
size_t hash = std::hash<uint32_t>()(v.p);