diff --git a/ecsact/runtime/meta.hh b/ecsact/runtime/meta.hh index 82bab388..4e5a5e5a 100644 --- a/ecsact/runtime/meta.hh +++ b/ecsact/runtime/meta.hh @@ -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;