From: Maxim Mamontov Date: Wed, 14 Sep 2011 14:35:07 +0000 (+0300) Subject: Add virtual destructor for Sensor X-Git-Tag: 2.408-rc1~55 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/98c3cc4050c9a41296b3be2a7336cee0edbe6bc0?ds=sidebyside Add virtual destructor for Sensor --- 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;