aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ComponentManager.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-12 20:54:07 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-12 20:54:07 +0200
commit5d041cce13da66aa3457d236579a9ac90ebf7618 (patch)
tree2107c4cad158bb3875faa838c12e064d6aba03f2 /src/crepe/ComponentManager.cpp
parent579824011d5e8776e2079d6624a39535517760ff (diff)
fix constructor/destructor member visibility for component manager
Diffstat (limited to 'src/crepe/ComponentManager.cpp')
-rw-r--r--src/crepe/ComponentManager.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/crepe/ComponentManager.cpp b/src/crepe/ComponentManager.cpp
index 9a3fec7..8aa9d4e 100644
--- a/src/crepe/ComponentManager.cpp
+++ b/src/crepe/ComponentManager.cpp
@@ -1,3 +1,4 @@
+#include "util/log.h"
#include "ComponentManager.h"
using namespace crepe;
@@ -20,5 +21,14 @@ void ComponentManager::delete_all_components_of_id(uint32_t id) {
void ComponentManager::delete_all_components() {
// Clear the whole unordered_map<>
- components.clear();
+ this->components.clear();
}
+
+ComponentManager::ComponentManager() {
+ dbg_trace();
+}
+
+ComponentManager::~ComponentManager() {
+ dbg_trace();
+}
+