From c99e3c6a9c51dbe5f68eb01fd75922dbd41a84cf Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 10 Jan 2025 17:06:39 +0100 Subject: chore(ecs): make query benchmark compile --- ecs/benches/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecs') diff --git a/ecs/benches/query.rs b/ecs/benches/query.rs index 0f18f5c..f14bb06 100644 --- a/ecs/benches/query.rs +++ b/ecs/benches/query.rs @@ -127,7 +127,7 @@ fn benchbark(criterion: &mut Criterion) spawn_1000_entities(&mut world); - let query = world.query::<(Bar, Position, Foo), ()>(); + let query = world.query::<(&Bar, &Position, &Foo), ()>(); bencher.iter(|| { for comps in query.iter() { -- cgit v1.2.3-18-g5258