From cafd204af6d9969654bdee5ae14fef220640487c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Oct 2022 14:36:35 +1100 Subject: Cleanup: remove redundant 'using' clang-tidy converts C-style typedefs to this style, but the "using ..." isn't needed. --- source/blender/editors/space_view3d/view3d_select.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- cgit v1.2.3