diff options
author | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-05 12:36:26 +0200 |
---|---|---|
committer | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-05 12:36:26 +0200 |
commit | 765550bce8a81c6f0c79c0083b14ef68e0c900b2 (patch) | |
tree | 125a816a17d78bb8d68915b801d93e0083b660ba /mwe/ecs-homemade/inc/ComponentManager.h | |
parent | a5fa49f39473a8d2dc535145cb34866967ec10ab (diff) |
Removed the std::pair to improve test
Diffstat (limited to 'mwe/ecs-homemade/inc/ComponentManager.h')
-rw-r--r-- | mwe/ecs-homemade/inc/ComponentManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/inc/ComponentManager.h b/mwe/ecs-homemade/inc/ComponentManager.h index 893aa56..1a58b01 100644 --- a/mwe/ecs-homemade/inc/ComponentManager.h +++ b/mwe/ecs-homemade/inc/ComponentManager.h @@ -29,7 +29,7 @@ public: template <typename T> std::vector<std::reference_wrapper<T>> GetComponentsByID(std::uint32_t id) const; //Get a vector<> of all components at specific type and id template <typename T> - std::vector<std::pair<std::reference_wrapper<T>, std::uint32_t>> GetComponentsByType() const; //Get a vector<> of all components of a specific type + std::vector<std::reference_wrapper<T>> GetComponentsByType() const; //Get a vector<> of all components of a specific type private: static ComponentManager mInstance; //Singleton |