diff --git a/intern/ghost/intern/GHOST_WindowX11.cc b/intern/ghost/intern/GHOST_WindowX11.cc index dea12dd1352..55b2b21219e 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cc +++ b/intern/ghost/intern/GHOST_WindowX11.cc @@ -53,7 +53,7 @@ /* For obscure full screen mode stuff * lifted verbatim from blut. */ -using MotifWmHints = struct { +struct MotifWmHints { long flags; long functions; long decorations; diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index ba21e9649db..fc232cca3f0 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -3193,7 +3193,7 @@ void DepsgraphRelationBuilder::build_sound(bSound *sound) add_relation(parameters_key, audio_key, "Parameters -> Audio"); } -using Seq_build_prop_cb_data = struct Seq_build_prop_cb_data { +struct Seq_build_prop_cb_data { DepsgraphRelationBuilder *builder; ComponentKey sequencer_key; bool has_audio_strips; diff --git a/source/blender/editors/space_outliner/outliner_tools.cc b/source/blender/editors/space_outliner/outliner_tools.cc index 97f7044561f..56db6b44ecc 100644 --- a/source/blender/editors/space_outliner/outliner_tools.cc +++ b/source/blender/editors/space_outliner/outliner_tools.cc @@ -2594,7 +2594,7 @@ void OUTLINER_OT_object_operation(wmOperatorType *ot) using OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob); -using ObjectEditData = struct ObjectEditData { +struct ObjectEditData { GSet *objects_set; bool is_liboverride_allowed; bool is_liboverride_hierarchy_root_allowed; diff --git a/source/blender/windowmanager/intern/wm_event_system.cc b/source/blender/windowmanager/intern/wm_event_system.cc index 1473913a1b5..0dde82cb7a8 100644 --- a/source/blender/windowmanager/intern/wm_event_system.cc +++ b/source/blender/windowmanager/intern/wm_event_system.cc @@ -4357,7 +4357,7 @@ void WM_event_add_fileselect(bContext *C, wmOperator *op) /** \name Consecutive Event Access * \{ */ -using wmEvent_ConsecutiveData = struct wmEvent_ConsecutiveData { +struct wmEvent_ConsecutiveData { /** Owned custom-data. */ void *custom_data; /** Unique identifier per struct type. */