diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
commit | 509fb6ebdd27bc75375c1c51024ea906e25032c0 (patch) | |
tree | 89ef8b7e72b25c30e42d73de08769a4402ef0716 /mwe/ecs-homemade/inc/ComponentManager.hpp | |
parent | 7c9d3452c99fcb89ea6df55755e90f741b23cf10 (diff) |
WIP more code style enforcements
Diffstat (limited to 'mwe/ecs-homemade/inc/ComponentManager.hpp')
-rw-r--r-- | mwe/ecs-homemade/inc/ComponentManager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/inc/ComponentManager.hpp b/mwe/ecs-homemade/inc/ComponentManager.hpp index 161ce71..d6da8e8 100644 --- a/mwe/ecs-homemade/inc/ComponentManager.hpp +++ b/mwe/ecs-homemade/inc/ComponentManager.hpp @@ -42,7 +42,8 @@ void ComponentManager::DeleteComponentsById(std::uint32_t id) { } } -template <typename T> void ComponentManager::DeleteComponents() { +template <typename T> +void ComponentManager::DeleteComponents() { std::type_index type = typeid( T); //Determine the type of T (this is used as the key of the unordered_map<>) |