Commit: 75d984a71234cb8cefa41d5f9ce69d4855441c33
Author: Sergey Sharybin
Date:   Thu Sep 22 10:18:55 2022 +0200
Branches: master
https://developer.blender.org/rB75d984a71234cb8cefa41d5f9ce69d4855441c33

Refactor: const-correctness in bmesh conversion assert

===================================================================

M       source/blender/bmesh/intern/bmesh_mesh_convert.cc

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_mesh_convert.cc 
b/source/blender/bmesh/intern/bmesh_mesh_convert.cc
index 399d5e1517b..0bbf425971f 100644
--- a/source/blender/bmesh/intern/bmesh_mesh_convert.cc
+++ b/source/blender/bmesh/intern/bmesh_mesh_convert.cc
@@ -908,7 +908,7 @@ static void 
write_fn_to_attribute(blender::bke::MutableAttributeAccessor attribu
   }
 }
 
-static void assert_bmesh_has_no_mesh_only_attributes(BMesh &bm)
+static void assert_bmesh_has_no_mesh_only_attributes(const BMesh &bm)
 {
   (void)bm; /* Unused in the release builds. */

_______________________________________________
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

Reply via email to