Revert "[Tizen] Fix for GCC14"
authorjykeon <jykeon@samsung.com>
Tue, 18 Jun 2024 08:28:41 +0000 (17:28 +0900)
committerjykeon <jykeon@samsung.com>
Tue, 18 Jun 2024 08:28:41 +0000 (17:28 +0900)
This reverts commit f96d057263a7d4a10d84083de439b2f38c455848.

examples/reflection-demo/gltf-scene.cpp

index ad05239..9b5a67f 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)
   {
-    (void)std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) {
+    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();