aboutsummaryrefslogtreecommitdiff
path: root/src/components/Component.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:29:55 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:29:55 +0200
commit298714449a7c19c7a0f85d2f06305432f8a5251c (patch)
tree0acd6328ac4d29baca47d1599dd3789d2a28a012 /src/components/Component.hpp
parent9a632b7d41eb6e12b18fb4f2f0cee817e4958d2f (diff)
Cleaning code and update CMI
Diffstat (limited to 'src/components/Component.hpp')
-rw-r--r--src/components/Component.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Component.hpp b/src/components/Component.hpp
index 564660a..45e4390 100644
--- a/src/components/Component.hpp
+++ b/src/components/Component.hpp
@@ -12,6 +12,7 @@ protected:
public:
Component(Status *s) : status(s){};
+ virtual ~Component(){};
std::vector<Element> GetElements() { return (this->elements); }
virtual void Refresh() = 0;
virtual void SyncCache() {};