Add the virtual dctr function of Serialization to kill warning.
authorJunyan He <junyan.he@linux.intel.com>
Thu, 12 Sep 2013 02:52:47 +0000 (10:52 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 12 Sep 2013 07:53:11 +0000 (15:53 +0800)
Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/sys/platform.hpp

index 783b665..b8a2841 100644 (file)
@@ -344,6 +344,8 @@ public:
 
   virtual void printStatus(int indent = 0, std::ostream& outs = std::cout) { }
 
+  virtual ~Serializable(void) { }
+
 protected:
   static std::string indent_to_str(int indent) {
     std::string ind(indent, ' ');