Fix coverity issue (auto scene : scenes --> auto& scene : scenes) 18/297618/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 22 Aug 2023 00:52:11 +0000 (09:52 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 22 Aug 2023 00:52:45 +0000 (09:52 +0900)
AUTO_CAUSES_COPY case fix. (Even it have low efforts)

Change-Id: I1fc7d4c66c5206484f0e7a46b68313280f5f39d1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/common/core-impl.cpp

index 421d2e5..3714d35 100644 (file)
@@ -359,7 +359,7 @@ void Core::RelayoutAndFlush(SceneContainer& scenes)
   RunPostProcessors();
 
   // Rebuild depth tree after event processing has finished
-  for(auto scene : scenes)
+  for(auto& scene : scenes)
   {
     scene->RebuildDepthTree();
   }