From a1ebd3d69e87361a0243999a9a95ce62e97ba7bb Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Wed, 24 Jul 2024 14:17:24 +0900 Subject: [PATCH] Fix minor optimization - remove bool l-value input parameter Change-Id: Ib5e4b86a2f65b2c653e461c01dfb630e1c34958a Signed-off-by: Eunki, Hong --- dali-toolkit/internal/visuals/visual-factory-cache.cpp | 2 +- dali-toolkit/internal/visuals/visual-factory-cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dali-toolkit/internal/visuals/visual-factory-cache.cpp b/dali-toolkit/internal/visuals/visual-factory-cache.cpp index 5228ce4..160f236 100644 --- a/dali-toolkit/internal/visuals/visual-factory-cache.cpp +++ b/dali-toolkit/internal/visuals/visual-factory-cache.cpp @@ -367,7 +367,7 @@ void VisualFactoryCache::ApplyTextureAndUniforms(Renderer& renderer, int index) } } -void VisualFactoryCache::UpdateBrokenImageRenderer(Renderer& renderer, const Vector2& size, const bool& rendererIsImage) +void VisualFactoryCache::UpdateBrokenImageRenderer(Renderer& renderer, const Vector2& size, const bool rendererIsImage) { bool useDefaultBrokenImage = false; if(mBrokenImageInfoContainer.size() == 0) diff --git a/dali-toolkit/internal/visuals/visual-factory-cache.h b/dali-toolkit/internal/visuals/visual-factory-cache.h index 11a591d..3a61d4d 100644 --- a/dali-toolkit/internal/visuals/visual-factory-cache.h +++ b/dali-toolkit/internal/visuals/visual-factory-cache.h @@ -231,7 +231,7 @@ public: * If true, we don't need to create new renderer when broken image is single image. * Most of user experience use normal images. So It can reduce runtime. */ - void UpdateBrokenImageRenderer(Renderer& renderer, const Vector2& size, const bool& rendererIsImage = true); + void UpdateBrokenImageRenderer(Renderer& renderer, const Vector2& size, const bool rendererIsImage = true); /** * @brief Get whether we support YUV Planes load or not. -- 2.7.4