[Beignet] [PATCH 5/5] Add the virtual dctr function of Serialization to kill warning.
Yang, Rong R
rong.r.yang at intel.com
Wed Sep 11 23:29:15 PDT 2013
LGTM.
-----Original Message-----
From: beignet-bounces+rong.r.yang=intel.com at lists.freedesktop.org [mailto:beignet-bounces+rong.r.yang=intel.com at lists.freedesktop.org] On Behalf Of junyan.he at inbox.com
Sent: Thursday, September 12, 2013 10:53 AM
To: beignet at lists.freedesktop.org
Cc: Junyan He
Subject: [Beignet] [PATCH 5/5] Add the virtual dctr function of Serialization to kill warning.
From: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
backend/src/sys/platform.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/backend/src/sys/platform.hpp b/backend/src/sys/platform.hpp index 783b665..b8a2841 100644
--- a/backend/src/sys/platform.hpp
+++ b/backend/src/sys/platform.hpp
@@ -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, ' ');
--
1.7.9.5
_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list