From bef61b765de52d14a52c3df86f8b3766846be272 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 7 Jun 2024 19:55:47 +0200 Subject: refactor(ecs): make tuple reduce operation more generic --- ecs/src/actions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ecs/src/actions.rs') 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( _system: &mut impl System<'world, SystemImpl>, -- cgit v1.2.3-18-g5258