From dcde1a97b97e5be14cea62536573aaa3224c3187 Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Wed, 14 Dec 2022 02:00:55 +0900 Subject: [PATCH] Remove build warning for gcc-11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove warning message at gcc-11. Full warning meesage : warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Dali::Graphics::GLES::UniformBufferBindingDescriptor’; use assignment or value-initialization instead [-Wclass-memaccess] Change-Id: I8ada4a1172c38ed5717bd43f7ca30750b8217185 Signed-off-by: Eunki Hong --- dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp | 2 +- dali/internal/graphics/gles-impl/gles-graphics-types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp b/dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp index d619842..9fc0b58 100644 --- a/dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp +++ b/dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp @@ -266,7 +266,7 @@ void CommandBuffer::BindUniformBuffers(const std::vector