Skip to content

Commit

Permalink
fix(meta): c++ wrapper bad container access (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Jun 20, 2024
1 parent c770d3c commit 2677d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecsact/runtime/meta.hh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ ECSACT_ALWAYS_INLINE auto system_capabilities(SystemLikeID id) {
result.reserve(count);

for(decltype(count) i = 0; count > i; ++i) {
result[components[i]] = capabilities[i];
result.insert({components[i], capabilities[i]});
}

return result;
Expand Down

0 comments on commit 2677d39

Please # to comment.