]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/sensors.h
Initialize class members in EVENT_LOOP constructor
[stg.git] / projects / stargazer / plugins / other / smux / sensors.h
index 7c11751eca9551e5ee75f93910fcca8c773daf40..db3f26f386c050fc68fc90297659f37e7fd29c43 100644 (file)
@@ -280,11 +280,13 @@ class ConstSensor : public Sensor {
         T value;
 };
 
+#ifdef DEBUG
 template <>
 inline
 std::string ConstSensor<std::string>::ToString() const
 {
 return value;
 }
+#endif
 
 #endif