diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-04 08:42:37 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-04 08:43:25 +0300 |
commit | 5dbd6968a6851a7f1ed4ee1b9b5372a3b082dff9 (patch) | |
tree | d5ad2a56d0b74184a4a134f9a2879c512de0b06c /source/blender/editors/space_outliner | |
parent | f699dbba86156ad3f24c24e3d369f0708b3fd1b5 (diff) |
Cleanup: clang-tidy
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.cc b/source/blender/editors/space_outliner/outliner_tools.cc index 22e42c762ca..6cbb701d763 100644 --- a/source/blender/editors/space_outliner/outliner_tools.cc +++ b/source/blender/editors/space_outliner/outliner_tools.cc @@ -1167,7 +1167,6 @@ static void id_override_library_clear_single_fn(bContext *C, } WM_event_add_notifier(C, NC_WINDOW, nullptr); - return; } static void id_fake_user_set_fn(bContext *UNUSED(C), @@ -1813,11 +1812,11 @@ void OUTLINER_OT_object_operation(wmOperatorType *ot) using OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob); -typedef struct ObjectEditData { +using ObjectEditData = struct ObjectEditData { GSet *objects_set; bool is_liboverride_allowed; bool is_liboverride_hierarchy_root_allowed; -} ObjectEditData; +}; static void outliner_do_object_delete(bContext *C, ReportList *reports, |