From 3d3bc748849834ef74563deb603ab43859cffeeb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2022 11:38:08 +1100 Subject: Cleanup: remove redundant const qualifiers for POD types MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning. --- source/blender/bmesh/tools/bmesh_bevel.h | 40 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'source/blender/bmesh/tools/bmesh_bevel.h') diff --git a/source/blender/bmesh/tools/bmesh_bevel.h b/source/blender/bmesh/tools/bmesh_bevel.h index 03c10ee9f80..56533e83c39 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.h +++ b/source/blender/bmesh/tools/bmesh_bevel.h @@ -36,25 +36,25 @@ struct MDeformVert; * \warning all tagged edges _must_ be manifold. */ void BM_mesh_bevel(BMesh *bm, - const float offset, - const int offset_type, - const int profile_type, - const int segments, - const float profile, - const bool affect_type, - const bool use_weights, - const bool limit_offset, + float offset, + int offset_type, + int profile_type, + int segments, + float profile, + bool affect_type, + bool use_weights, + bool limit_offset, const struct MDeformVert *dvert, - const int vertex_group, - const int mat, - const bool loop_slide, - const bool mark_seam, - const bool mark_sharp, - const bool harden_normals, - const int face_strength_mode, - const int miter_outer, - const int miter_inner, - const float spread, - const float smoothresh, + int vertex_group, + int mat, + bool loop_slide, + bool mark_seam, + bool mark_sharp, + bool harden_normals, + int face_strength_mode, + int miter_outer, + int miter_inner, + float spread, + float smoothresh, const struct CurveProfile *custom_profile, - const int vmesh_method); + int vmesh_method); -- cgit v1.2.3