diff --git a/source/blender/windowmanager/WM_types.hh b/source/blender/windowmanager/WM_types.hh index cd560372794..5916ce18c2b 100644 --- a/source/blender/windowmanager/WM_types.hh +++ b/source/blender/windowmanager/WM_types.hh @@ -1189,6 +1189,9 @@ using WMDropboxTooltipFunc = char *(*)(bContext *C, wmDropBox *drop); struct wmDragActiveDropState { + wmDragActiveDropState(); + ~wmDragActiveDropState(); + /** * Informs which dropbox is activated with the drag item. * When this value changes, the #on_enter() and #on_exit() dropbox callbacks are triggered. diff --git a/source/blender/windowmanager/intern/wm_dragdrop.cc b/source/blender/windowmanager/intern/wm_dragdrop.cc index 82df147fdfe..0646333dc1b 100644 --- a/source/blender/windowmanager/intern/wm_dragdrop.cc +++ b/source/blender/windowmanager/intern/wm_dragdrop.cc @@ -67,6 +67,9 @@ static ListBase dropboxes = {nullptr, nullptr}; static void wm_drag_free_asset_data(wmDragAsset **asset_data); static void wm_drag_free_path_data(wmDragPath **path_data); +wmDragActiveDropState::wmDragActiveDropState() = default; +wmDragActiveDropState::~wmDragActiveDropState() = default; + /* drop box maps are stored global for now */ /* these are part of blender's UI/space specs, and not like keymaps */ /* when editors become configurable, they can add own dropbox definitions */