diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-09-05 12:50:25 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-09-05 12:50:25 +0400 |
commit | 7efe2153b2a04322b312cacba60168c0db470f95 (patch) | |
tree | dc25b7aa2827696a4af6cc5c4f4a99bce65f47f3 /source/blender/compositor/intern/COM_Device.h | |
parent | f3a91f461ca94557a8125915544676cc765a5709 (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.h | 7 |
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; } |