Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Mark mutable APIs under ECS storage as pub(crate) #5065

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
james7132 committed Jun 21, 2022
commit ad330c124e04f181a2c9acb041df4085a378a3df
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/storage/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ mod tests {
use crate::component::Component;
use crate::ptr::OwningPtr;
use crate::storage::Storages;
use crate::{component::Components, entity::Entity, storage::Table};
use crate::{component::{Components, ComponentTicks}, entity::Entity, storage::Table};
#[derive(Component)]
struct W<T>(T);

Expand All @@ -536,7 +536,7 @@ mod tests {
table
.get_column_mut(component_id)
.unwrap()
.initialize_data(row, value_ptr);
.initialize(row, value_ptr, ComponentTicks::new(0));
});
};
}
Expand Down