Skip to content

Commit

Permalink
Fix 77dd849: Remove usage of designated initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Jun 21, 2024
1 parent 37714ac commit 235bafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fastgltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@ template <typename T> fg::Error fg::Parser::parseAttributes(simdjson::dom::objec
return Error::InvalidGltf;
}
attributes.emplace_back(Attribute {
.name = FASTGLTF_CONSTRUCT_PMR_RESOURCE(FASTGLTF_STD_PMR_NS::string, resourceAllocator.get(), key),
.accessorIndex = static_cast<std::size_t>(accessorIndex),
FASTGLTF_CONSTRUCT_PMR_RESOURCE(FASTGLTF_STD_PMR_NS::string, resourceAllocator.get(), key),
static_cast<std::size_t>(accessorIndex),
});
}
return Error::None;
Expand Down

0 comments on commit 235bafd

Please sign in to comment.