Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-09-05 12:50:25 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-09-05 12:50:25 +0400
commit7efe2153b2a04322b312cacba60168c0db470f95 (patch)
treedc25b7aa2827696a4af6cc5c4f4a99bce65f47f3 /source/blender/compositor/intern/COM_Device.h
parentf3a91f461ca94557a8125915544676cc765a5709 (diff)
* gcc 4.7 is more strict. This patch will remove 'non virtual
destructor warnings' in the core of the compositor.
Diffstat (limited to 'source/blender/compositor/intern/COM_Device.h')
-rw-r--r--source/blender/compositor/intern/COM_Device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_Device.h b/source/blender/compositor/intern/COM_Device.h
index e33a2a4288f..dc39b2baca7 100644
--- a/source/blender/compositor/intern/COM_Device.h
+++ b/source/blender/compositor/intern/COM_Device.h
@@ -31,8 +31,15 @@
* work are packaged as a WorkPackage instance.
*/
class Device {
+
public:
/**
+ * @brief Declaration of the virtual destructor
+ * @note resolve warning gcc 4.7
+ */
+ virtual ~Device() {}
+
+ /**
* @brief initialize the device
*/
virtual bool initialize() { return true; }