From 858e1dfe3a890236d9ebb3c200813ee57876bac3 Mon Sep 17 00:00:00 2001 From: Seungho Baek Date: Mon, 10 Jun 2024 18:08:09 +0900 Subject: [PATCH] [Tizen] Fix for GCC14 Change-Id: I75f4fe3625282c002c5e201185d3b1e1d18c5405 Signed-off-by: Seungho Baek --- examples/reflection-demo/gltf-scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/reflection-demo/gltf-scene.cpp b/examples/reflection-demo/gltf-scene.cpp index 9b5a67f..ad05239 100644 --- a/examples/reflection-demo/gltf-scene.cpp +++ b/examples/reflection-demo/gltf-scene.cpp @@ -464,7 +464,7 @@ std::vector glTF::GetMeshAttributeBuffer(const glTF_Mesh& mesh, c std::vector data{}; for(const auto& attrType : attrTypes) { - std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair& item) { + (void)std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair& item) { if(item.first == attrType) { data.emplace_back(); -- 2.7.4