ecore: virtual destructors are needed
authorCedric Bail <cedric.bail@free.fr>
Sat, 16 Mar 2013 13:19:49 +0000 (14:19 +0100)
committerCedric Bail <cedric.bail@free.fr>
Sat, 16 Mar 2013 14:12:47 +0000 (23:12 +0900)
src/lib/ecore_win32/ecore_win32_dnd_data_object.h
src/lib/ecore_win32/ecore_win32_dnd_drop_source.h
src/lib/ecore_win32/ecore_win32_dnd_drop_target.h

index 3d289cf..4350bc5 100644 (file)
@@ -24,7 +24,7 @@ class DataObject : public IDataObject
  public: // structors
 
    DataObject(FORMATETC *fmtetc, STGMEDIUM *stgmed, int count);
-   ~DataObject();
+   virtual ~DataObject();
 
  public: // IUnknown
 
index 9081f46..2ef9d9e 100644 (file)
@@ -19,6 +19,7 @@ class DropSource : public IDropSource
  public: // structors
 
    DropSource();
+   virtual ~DropSource() { }
 
  public: // IUnknown
 
index 24c3de3..1309314 100644 (file)
@@ -28,6 +28,7 @@ class DropTarget : public IDropTarget
  public: // structors
 
    DropTarget(HWND hwnd, Ecore_Win32_Dnd_DropTarget_Callback callback, void *window_obj_ptr);
+   virtual ~DropTarget() { }
 
 public: // IUnknown