[Beignet] [PATCH 5/5] Add the virtual dctr function of Serialization to kill warning.
junyan.he at inbox.com
junyan.he at inbox.com
Wed Sep 11 19:52:47 PDT 2013
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
More information about the Beignet
mailing list