Skip to content

Commit

Permalink
fix bench compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzay committed Oct 16, 2023
1 parent 15aee1d commit 7599f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/ecs_compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ mod flecs_bench {
pub fn run_iter(&mut self) {
let f = self.0.filter_builder().with_components::<(Position, Velocity)>().build();
f.iter(|it| {
let positions = it.field::<Position>(1);
let mut positions = it.field::<Position>(1);
let velocities = it.field::<Velocity>(2);

for i in 0..it.count() {
Expand Down

0 comments on commit 7599f49

Please sign in to comment.