Fix for GCC14 63/312463/1
authorSeungho Baek <sbsh.baek@samsung.com>
Mon, 10 Jun 2024 09:08:09 +0000 (18:08 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Mon, 10 Jun 2024 10:29:35 +0000 (19:29 +0900)
Change-Id: I75f4fe3625282c002c5e201185d3b1e1d18c5405
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
examples/reflection-demo/gltf-scene.cpp

index 9b5a67ffbdab80b565d637e43c18996ca2034608..ad052391667fbc405de0059662351998cecec522 100644 (file)
@@ -464,7 +464,7 @@ std::vector<unsigned char> glTF::GetMeshAttributeBuffer(const glTF_Mesh& mesh, c
   std::vector<Data> data{};
   for(const auto& attrType : attrTypes)
   {
-    std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) {
+    (void)std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) {
       if(item.first == attrType)
       {
         data.emplace_back();