projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea840e
)
Add the virtual dctr function of Serialization to kill warning.
author
Junyan He
<junyan.he@linux.intel.com>
Thu, 12 Sep 2013 02:52:47 +0000
(10:52 +0800)
committer
Zhigang 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
patch
|
blob
|
history
diff --git
a/backend/src/sys/platform.hpp
b/backend/src/sys/platform.hpp
index
783b665
..
b8a2841
100644
(file)
--- 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, ' ');