mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
b3b445979e
commit
7ae9227794
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue