aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/inc/ComponentManager.h
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-05 12:36:26 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-05 12:36:26 +0200
commit765550bce8a81c6f0c79c0083b14ef68e0c900b2 (patch)
tree125a816a17d78bb8d68915b801d93e0083b660ba /mwe/ecs-homemade/inc/ComponentManager.h
parenta5fa49f39473a8d2dc535145cb34866967ec10ab (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.h2
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