Commit: cafd204af6d9969654bdee5ae14fef220640487c Author: Campbell Barton Date: Fri Oct 7 14:36:35 2022 +1100 Branches: master https://developer.blender.org/rBcafd204af6d9969654bdee5ae14fef220640487c
Cleanup: remove redundant 'using' clang-tidy converts C-style typedefs to this style, but the "using ..." isn't needed. =================================================================== M source/blender/editors/space_view3d/view3d_select.cc =================================================================== diff --git a/source/blender/editors/space_view3d/view3d_select.cc b/source/blender/editors/space_view3d/view3d_select.cc index 94b1573ceda..cba85097071 100644 --- a/source/blender/editors/space_view3d/view3d_select.cc +++ b/source/blender/editors/space_view3d/view3d_select.cc @@ -1601,7 +1601,7 @@ static bool object_mouse_select_menu(bContext *C, const float dist_threshold_sq = square_f(15 * U.pixelsize); int base_count = 0; - using BaseRefWithDepth = struct BaseRefWithDepth { + struct BaseRefWithDepth { struct BaseRefWithDepth *next, *prev; Base *base; /** The scale isn't defined, simply use for sorting. */ @@ -1812,7 +1812,7 @@ static bool bone_mouse_select_menu(bContext *C, int bone_count = 0; - using BoneRefWithDepth = struct BoneRefWithDepth { + struct BoneRefWithDepth { struct BoneRefWithDepth *next, *prev; Base *base; union { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs