aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-15 20:26:26 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-15 20:26:26 +0100
commit5bee4515c1089ce3499bc3b74780db94f0c02306 (patch)
tree3e18158665e45851b92c61095664fc16060c8fd2 /src/crepe/Component.h
parent8600b8a29351aae26ec7b22f84aeeef92d8cb421 (diff)
process feedback on #26
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r--src/crepe/Component.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h
index 12c10cb..670446f 100644
--- a/src/crepe/Component.h
+++ b/src/crepe/Component.h
@@ -26,6 +26,8 @@ protected:
Component(game_object_id_t id);
//! Only the ComponentManager can create components
friend class ComponentManager;
+public:
+ virtual ~Component() = default;
public:
/**