diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-07 19:55:47 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-07 19:55:47 +0200 |
commit | bef61b765de52d14a52c3df86f8b3766846be272 (patch) | |
tree | b032d9c440844231e8623e8a0e83b5b95caab4f8 /ecs/src/actions.rs | |
parent | 8adf787bca7744344b83dace7997031b07785a25 (diff) |
refactor(ecs): make tuple reduce operation more generic
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r-- | ecs/src/actions.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs index 9d3eb4e..4cbd515 100644 --- a/ecs/src/actions.rs +++ b/ecs/src/actions.rs @@ -5,7 +5,6 @@ use std::sync::{Arc, Weak}; use crate::component::{Component, Sequence as ComponentSequence}; use crate::lock::{Lock, WriteGuard}; use crate::system::{NoInitParamFlag, Param as SystemParam, System}; -use crate::tuple::ReduceNoOp as TupleReduceNoOp; use crate::{ActionQueue, WorldData}; /// Used to to queue up actions for a [`World`] to perform. @@ -56,7 +55,7 @@ impl<'world> Actions<'world> unsafe impl<'world> SystemParam<'world> for Actions<'world> { type Flags = NoInitParamFlag; - type Input = TupleReduceNoOp; + type Input = (); fn initialize<SystemImpl>( _system: &mut impl System<'world, SystemImpl>, |