Commit 9cc38cd9778e112cb1e301d44d4c905e71e937ab
1 parent
6d473622
Fix for GCC14
Change-Id: I75f4fe3625282c002c5e201185d3b1e1d18c5405 Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Showing
1 changed file
with
1 additions
and
1 deletions
examples/reflection-demo/gltf-scene.cpp
| ... | ... | @@ -464,7 +464,7 @@ std::vector<unsigned char> glTF::GetMeshAttributeBuffer(const glTF_Mesh& mesh, c |
| 464 | 464 | std::vector<Data> data{}; |
| 465 | 465 | for(const auto& attrType : attrTypes) |
| 466 | 466 | { |
| 467 | - std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) { | |
| 467 | + (void)std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) { | |
| 468 | 468 | if(item.first == attrType) |
| 469 | 469 | { |
| 470 | 470 | data.emplace_back(); | ... | ... |