1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Move extremeEdges into queue instead of copying

This commit is contained in:
ζeh Matt 2022-04-10 20:56:52 +03:00
parent 19df9c3d17
commit b39aea4346
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

View File

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