From 98c3cc4050c9a41296b3be2a7336cee0edbe6bc0 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 14 Sep 2011 17:35:07 +0300 Subject: [PATCH] Add virtual destructor for Sensor --- projects/stargazer/plugins/other/smux/sensors.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/plugins/other/smux/sensors.h b/projects/stargazer/plugins/other/smux/sensors.h index db3f26f3..f751c82e 100644 --- a/projects/stargazer/plugins/other/smux/sensors.h +++ b/projects/stargazer/plugins/other/smux/sensors.h @@ -18,6 +18,7 @@ class Sensor { public: + virtual ~Sensor() {} virtual bool GetValue(ObjectSyntax_t * objectSyntax) const = 0; #ifdef DEBUG virtual std::string ToString() const = 0; -- 2.43.2