From 5af0b90f11929ca99a48389ef29d8a56f39b0efd Mon Sep 17 00:00:00 2001 From: max-001 Date: Wed, 6 Nov 2024 14:49:18 +0100 Subject: Made the destructor public and non-virtual (because virtual is not necesary) --- src/crepe/ComponentManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crepe/ComponentManager.h b/src/crepe/ComponentManager.h index 850aadc..f3b0ace 100644 --- a/src/crepe/ComponentManager.h +++ b/src/crepe/ComponentManager.h @@ -28,6 +28,7 @@ public: ComponentManager(ComponentManager &&) = delete; ComponentManager & operator=(const ComponentManager &) = delete; ComponentManager & operator=(ComponentManager &&) = delete; + ~ComponentManager(); /** * \brief Add a component to the ComponentManager @@ -101,7 +102,6 @@ public: private: ComponentManager(); - virtual ~ComponentManager(); private: /** -- cgit v1.2.3