diff options
author | HampusM <hampus@hampusmat.com> | 2025-01-10 17:06:39 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-01-10 17:06:39 +0100 |
commit | c99e3c6a9c51dbe5f68eb01fd75922dbd41a84cf (patch) | |
tree | b9f384c29fb2b7b7da89457e4aff81402185c356 /ecs | |
parent | ab2fa8a93de33ccb17ee1efd6f9b8858a8b79253 (diff) |
chore(ecs): make query benchmark compile
Diffstat (limited to 'ecs')
-rw-r--r-- | ecs/benches/query.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |