summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-16 14:19:49 +0100
committerCedric Bail <cedric.bail@free.fr>2013-03-16 23:12:47 +0900
commite890b24457e54abc57c205bc89b1fd319d5a24f6 (patch)
tree4d1b39d6b61f6398868f71ded597b7979c724d90
parent6df7da23b5eff3216057816ccb6f884045413818 (diff)
downloadefl-e890b24457e54abc57c205bc89b1fd319d5a24f6.tar.gz
ecore: virtual destructors are needed
-rw-r--r--src/lib/ecore_win32/ecore_win32_dnd_data_object.h2
-rw-r--r--src/lib/ecore_win32/ecore_win32_dnd_drop_source.h1
-rw-r--r--src/lib/ecore_win32/ecore_win32_dnd_drop_target.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_win32/ecore_win32_dnd_data_object.h b/src/lib/ecore_win32/ecore_win32_dnd_data_object.h
index 3d289cf7f5..4350bc5b7e 100644
--- a/src/lib/ecore_win32/ecore_win32_dnd_data_object.h
+++ b/src/lib/ecore_win32/ecore_win32_dnd_data_object.h
@@ -24,7 +24,7 @@ class DataObject : public IDataObject
public: // structors
DataObject(FORMATETC *fmtetc, STGMEDIUM *stgmed, int count);
- ~DataObject();
+ virtual ~DataObject();
public: // IUnknown
diff --git a/src/lib/ecore_win32/ecore_win32_dnd_drop_source.h b/src/lib/ecore_win32/ecore_win32_dnd_drop_source.h
index 9081f46a15..2ef9d9eabf 100644
--- a/src/lib/ecore_win32/ecore_win32_dnd_drop_source.h
+++ b/src/lib/ecore_win32/ecore_win32_dnd_drop_source.h
@@ -19,6 +19,7 @@ class DropSource : public IDropSource
public: // structors
DropSource();
+ virtual ~DropSource() { }
public: // IUnknown
diff --git a/src/lib/ecore_win32/ecore_win32_dnd_drop_target.h b/src/lib/ecore_win32/ecore_win32_dnd_drop_target.h
index 24c3de3e1a..13093149fb 100644
--- a/src/lib/ecore_win32/ecore_win32_dnd_drop_target.h
+++ b/src/lib/ecore_win32/ecore_win32_dnd_drop_target.h
@@ -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