Fix compile error with thorvg by gcc-14 99/320399/1
authorEunki Hong <eunkiki.hong@samsung.com>
Thu, 14 Nov 2024 14:06:49 +0000 (23:06 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Thu, 14 Nov 2024 14:06:49 +0000 (23:06 +0900)
Change-Id: Id319e7223147d51798e1a4f19752a8a4f363a7e9
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/internal/canvas-renderer/ubuntu/canvas-renderer-impl-ubuntu.cpp

index c7219139f3f2f2d6d2191bb0462d3b881edf717d..e9b8ac9f5629760852a6d898895deeccb51fd3b2 100644 (file)
@@ -534,7 +534,7 @@ void CanvasRendererUbuntu::PushDrawableToGroup(Dali::CanvasRenderer::Drawable& d
         }
       }
 
-      if(tvgDuplicatedObject->composite(std::move(std::unique_ptr<tvg::Paint>(tvgDuplicatedCompositeObject)), static_cast<tvg::CompositeMethod>(drawableImpl.GetCompositionType())) != tvg::Result::Success)
+      if(tvgDuplicatedObject->composite(std::unique_ptr<tvg::Paint>(tvgDuplicatedCompositeObject), static_cast<tvg::CompositeMethod>(drawableImpl.GetCompositionType())) != tvg::Result::Success)
       {
         DALI_LOG_ERROR("Tvg composite fail [%p]\n", this);
         return;
@@ -542,7 +542,7 @@ void CanvasRendererUbuntu::PushDrawableToGroup(Dali::CanvasRenderer::Drawable& d
     }
   }
 
-  if(group->push(std::move(std::unique_ptr<tvg::Paint>(tvgDuplicatedObject))) != tvg::Result::Success)
+  if(group->push(std::unique_ptr<tvg::Paint>(tvgDuplicatedObject)) != tvg::Result::Success)
   {
     DALI_LOG_ERROR("Tvg push fail [%p]\n", this);
     return;