diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 15:12:01 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 15:12:01 +0200 |
commit | 39815f58e3842bb28e644e83111a619bd1374855 (patch) | |
tree | 39dd4631505fc063bb4336c25b4469cb2190fda8 /src/crepe/ComponentManager.cpp | |
parent | f8bc2a06a90c0ee172054db7ae2e1fdae09d14a3 (diff) |
add components_internal example
Diffstat (limited to 'src/crepe/ComponentManager.cpp')
-rw-r--r-- | src/crepe/ComponentManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/ComponentManager.cpp b/src/crepe/ComponentManager.cpp index b080c9d..9a3fec7 100644 --- a/src/crepe/ComponentManager.cpp +++ b/src/crepe/ComponentManager.cpp @@ -7,7 +7,7 @@ ComponentManager & ComponentManager::get_instance() { return instance; } -void ComponentManager::delete_all_components_of_id(std::uint32_t id) { +void ComponentManager::delete_all_components_of_id(uint32_t id) { // Loop through all the types (in the unordered_map<>) for (auto & [type, componentArray] : components) { // Make sure that the id (that we are looking for) is within the boundaries of the vector<> |