From b39aea434661f50ed7b0988944c31e46fb512c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Sun, 10 Apr 2022 20:56:52 +0300 Subject: [PATCH] Move extremeEdges into queue instead of copying --- components/sceneutil/mwshadowtechnique.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index 63010f6469..931b316347 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -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)