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();