aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/ComponentManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/ecs-homemade/src/ComponentManager.cpp')
-rw-r--r--mwe/ecs-homemade/src/ComponentManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/src/ComponentManager.cpp b/mwe/ecs-homemade/src/ComponentManager.cpp
index cca84bc..def50be 100644
--- a/mwe/ecs-homemade/src/ComponentManager.cpp
+++ b/mwe/ecs-homemade/src/ComponentManager.cpp
@@ -13,5 +13,5 @@ void ComponentManager::DeleteAllComponentsOfId(std::uint32_t id) {
}
void ComponentManager::DeleteAllComponents() {
- mComponents.clear();
+ mComponents.clear(); //Clear the whole unordered_map<>
}