From f51ddfac7b8948a43a40894185238c8a1ceeb5c4 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 15 Nov 2024 17:25:12 +0100 Subject: wrap lines at column 95 instead of 80 --- mwe/ecs-homemade/inc/ComponentManager.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mwe/ecs-homemade/inc/ComponentManager.h') diff --git a/mwe/ecs-homemade/inc/ComponentManager.h b/mwe/ecs-homemade/inc/ComponentManager.h index 0ba358e..99c108f 100644 --- a/mwe/ecs-homemade/inc/ComponentManager.h +++ b/mwe/ecs-homemade/inc/ComponentManager.h @@ -33,8 +33,7 @@ public: //Get a vector<> of all components at specific type and id template - std::vector> - GetComponentsByID(std::uint32_t id) const; + std::vector> GetComponentsByID(std::uint32_t id) const; //Get a vector<> of all components of a specific type template std::vector> GetComponentsByType() const; @@ -50,8 +49,7 @@ private: * The first std::vector<> stores another vector<>. This first vector<> is to bind the entity's id to a component. * The second std::vector<> stores unique_ptrs. Each component can be gathered via an unique_ptr. This second vector<> allows multiple components of the same std::type_index for one entity (id). */ - std::unordered_map>>> + std::unordered_map>>> mComponents; }; -- cgit v1.2.3