diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 194: SceneDesktop: Add virtual destructor to class with virtual methods.

Message ID 20120213101312.17381.68349.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Feb. 13, 2012, 10:13 a.m. UTC
------------------------------------------------------------
revno: 194
author: Jim Huang <jserv@0xlab.org>
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Mon 2012-02-13 11:43:54 +0200
message:
  SceneDesktop: Add virtual destructor to class with virtual methods.
modified:
  src/scene-desktop.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/scene-desktop.cpp'
--- src/scene-desktop.cpp	2012-01-18 16:40:14 +0000
+++ src/scene-desktop.cpp	2012-02-13 09:43:54 +0000
@@ -110,6 +110,8 @@ 
         texture_(0), fbo_(0), rotation_rad_(0),
         texture_contents_invalid_(true) { }
 
+    virtual ~RenderObject() {}
+
     virtual void init()
     {
         /* Create a texture to draw to */