From 6a884a50c975474e9ab73f9f1250133611fd54b5 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Fri, 24 Nov 2023 15:59:09 +0900 Subject: [PATCH] [Tizen] Fix coverity issue (foreach make copy) Maybe it has less effect, but resolve it anyway. Change-Id: I4edce37a55e7ff6d5759439282b1ce2649bfd0ca Signed-off-by: Eunki, Hong --- dali-scene3d/internal/event/collider-mesh-processor-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali-scene3d/internal/event/collider-mesh-processor-impl.cpp b/dali-scene3d/internal/event/collider-mesh-processor-impl.cpp index d8ce462..c205433 100644 --- a/dali-scene3d/internal/event/collider-mesh-processor-impl.cpp +++ b/dali-scene3d/internal/event/collider-mesh-processor-impl.cpp @@ -178,7 +178,7 @@ void ColliderMeshProcessor::Process(bool /* postProcess */) std::sort(mSceneViewsToProcess.begin(), mSceneViewsToProcess.end()); mSceneViewsToProcess.erase(std::unique(mSceneViewsToProcess.begin(), mSceneViewsToProcess.end()), mSceneViewsToProcess.end()); - for(auto sceneView : mSceneViewsToProcess) + for(auto& sceneView : mSceneViewsToProcess) { std::vector meshData; IterateThroughChildren(sceneView, meshData); -- 2.7.4