]> git.stg.codes - stg.git/commitdiff
Add virtual destructor for Sensor
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Sep 2011 14:35:07 +0000 (17:35 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Sep 2011 14:35:07 +0000 (17:35 +0300)
projects/stargazer/plugins/other/smux/sensors.h

index db3f26f386c050fc68fc90297659f37e7fd29c43..f751c82ebb689b59b75b2534b90ec7f93c109700 100644 (file)
@@ -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;