File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
crates/bevy_ecs/src/storage/table Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -95,25 +95,23 @@ impl ThinColumn {
95
95
& mut self ,
96
96
last_element_index : usize ,
97
97
row : TableRow ,
98
- ) -> ( OwningPtr , ComponentTicks , MaybeLocation ) {
98
+ ) -> OwningPtr {
99
99
let data = self
100
100
. data
101
101
. swap_remove_unchecked ( row. as_usize ( ) , last_element_index) ;
102
- let added = self
103
- . added_ticks
102
+ self . added_ticks
104
103
. swap_remove_unchecked ( row. as_usize ( ) , last_element_index)
105
104
. read ( ) ;
106
- let changed = self
107
- . changed_ticks
105
+ self . changed_ticks
108
106
. swap_remove_unchecked ( row. as_usize ( ) , last_element_index)
109
107
. read ( ) ;
110
- let changed_by = self . changed_by . as_mut ( ) . map ( |changed_by| {
108
+ self . changed_by . as_mut ( ) . map ( |changed_by| {
111
109
changed_by
112
110
. swap_remove_unchecked ( row. as_usize ( ) , last_element_index)
113
111
. read ( )
114
112
} ) ;
115
113
116
- ( data, ComponentTicks { added , changed } , changed_by )
114
+ data
117
115
}
118
116
119
117
/// Call [`realloc`](std::alloc::realloc) to expand / shrink the memory allocation for this [`ThinColumn`]
You can’t perform that action at this time.
0 commit comments