From c9a07ff61b607478e264fc0581076643c750fe98 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 16 Nov 2024 17:14:20 +0100 Subject: refactor(ecs): remove system param compatability checking --- ecs/src/system/util.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 ecs/src/system/util.rs (limited to 'ecs/src/system/util.rs') diff --git a/ecs/src/system/util.rs b/ecs/src/system/util.rs deleted file mode 100644 index 54fff0e..0000000 --- a/ecs/src/system/util.rs +++ /dev/null @@ -1,16 +0,0 @@ -macro_rules! check_params_are_compatible { - ($excluded_index: tt, $param: ident, $cnt: tt) => { - #[cfg(feature = "system-param-compat-checks")] - { - seq!(N in 0..$cnt { - if N != $excluded_index { - if !$param::is_compatible::() { - panic!("Atleast two parameters are incompatible"); - } - } - }); - } - }; -} - -pub(crate) use check_params_are_compatible; -- cgit v1.2.3-18-g5258