Move extremeEdges into queue instead of copying

pull/3226/head
ζeh Matt 3 years ago
parent 19df9c3d17
commit b39aea4346
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

@ -2113,7 +2113,7 @@ struct ConvexHull
} }
// Gather connected vertices // Gather connected vertices
VertexSet unprocessedConnectedVertices = extremeVertices; VertexSet unprocessedConnectedVertices = std::move(extremeVertices);
VertexSet connectedVertices; VertexSet connectedVertices;
const auto containsVertex = [&](const auto& vert) const auto containsVertex = [&](const auto& vert)

Loading…
Cancel
Save