From 26353e423b20c124193977de6a65f61cf7dd8a44 Mon Sep 17 00:00:00 2001 From: NukeBird Date: Sun, 16 Feb 2025 20:48:03 +0300 Subject: [PATCH] Replace Callable&& with auto&& --- zecsy.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zecsy.hpp b/zecsy.hpp index 377d8e7..82a38fc 100644 --- a/zecsy.hpp +++ b/zecsy.hpp @@ -114,8 +114,8 @@ namespace zecsy template void remove(entity_id e); - template - void query(Callable&& system); + template + void query(auto&& system); private: entities_set alive_entities; entity_id entity_counter = 0; @@ -278,8 +278,8 @@ namespace zecsy (remove(e), ...); } - template - inline void world::query(Callable&& system) + template + inline void world::query(auto&& system) { for(auto e: alive_entities) {