LGTM. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, September 12, 2013 10:53 AM To: [email protected] Cc: Junyan He Subject: [Beignet] [PATCH 5/5] Add the virtual dctr function of Serialization to kill warning.
From: Junyan He <[email protected]> Signed-off-by: Junyan He <[email protected]> --- 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
