summaryrefslogtreecommitdiff
path: root/ecs/src/query.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-06-07 19:55:47 +0200
committerHampusM <hampus@hampusmat.com>2024-06-07 19:55:47 +0200
commitbef61b765de52d14a52c3df86f8b3766846be272 (patch)
treeb032d9c440844231e8623e8a0e83b5b95caab4f8 /ecs/src/query.rs
parent8adf787bca7744344b83dace7997031b07785a25 (diff)
refactor(ecs): make tuple reduce operation more generic
Diffstat (limited to 'ecs/src/query.rs')
-rw-r--r--ecs/src/query.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecs/src/query.rs b/ecs/src/query.rs
index dae451a..88ca180 100644
--- a/ecs/src/query.rs
+++ b/ecs/src/query.rs
@@ -13,7 +13,6 @@ use crate::system::{
Param as SystemParam,
System,
};
-use crate::tuple::ReduceNoOp as TupleReduceNoOp;
use crate::{ComponentStorage, WorldData};
#[derive(Debug)]
@@ -83,7 +82,7 @@ where
Comps: ComponentSequence,
{
type Flags = NoInitSystemParamFlag;
- type Input = TupleReduceNoOp;
+ type Input = ();
fn initialize<SystemImpl>(
_system: &mut impl System<'world, SystemImpl>,