changeset 887:6176917ef890 am-dev

virtual destructor in ICompositor
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jul 2019 11:29:53 +0200
parents 5cfb479fdbde
children 6e79e8c9021c
files Framework/Scene2D/Internals/CompositorHelper.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Scene2D/Internals/CompositorHelper.h	Tue Jul 09 17:36:47 2019 +0200
+++ b/Framework/Scene2D/Internals/CompositorHelper.h	Wed Jul 10 11:29:53 2019 +0200
@@ -29,9 +29,13 @@
 
 namespace OrthancStone
 {
-  class ICompositor
+  class ICompositor : public boost::noncopyable
   {
   public:
+    virtual ~ICompositor()
+    {
+    }
+    
     virtual unsigned int GetWidth() const = 0;
     virtual unsigned int GetHeight() const = 0;
     virtual void Refresh() = 0;