|
|
@@ -87,9 +87,9 @@ public:
|
|
|
archive(*first);
|
|
|
}
|
|
|
} else if constexpr(component_traits<Type>::in_place_delete) {
|
|
|
- using common_type = typename registry_type::common_type;
|
|
|
+ const typename registry_type::common_type &base = *storage;
|
|
|
|
|
|
- for(auto it = storage->common_type::rbegin(), last = storage->common_type::rend(); it != last; ++it) {
|
|
|
+ for(auto it = base.rbegin(), last = base.rend(); it != last; ++it) {
|
|
|
if(const auto entt = *it; entt == tombstone) {
|
|
|
archive(static_cast<entity_type>(null));
|
|
|
} else {
|