Revert "[Tizen] Fix for GCC14"
authorHosang Kim <hosang12.kim@samsung.com>
Tue, 11 Jun 2024 07:58:56 +0000 (16:58 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Tue, 11 Jun 2024 07:58:56 +0000 (16:58 +0900)
This reverts commit 858e1dfe3a890236d9ebb3c200813ee57876bac3.

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