From 50ec3cb2d43bca54d33dfd50856bceda48e70512 Mon Sep 17 00:00:00 2001 From: Mattias Fredriksson Date: Thu, 17 Jul 2025 16:59:56 +0200 Subject: [PATCH] Cleanup: Mutable Span in geom compare Data is only accessed but variable is of type MutableSpan unlike `sorted_to_values1`. Pull Request: https://projects.blender.org/blender/blender/pulls/142224 --- source/blender/blenkernel/intern/geometry_compare.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/geometry_compare.cc b/source/blender/blenkernel/intern/geometry_compare.cc index 98fa6ab8ffa..abe105e3ce8 100644 --- a/source/blender/blenkernel/intern/geometry_compare.cc +++ b/source/blender/blenkernel/intern/geometry_compare.cc @@ -284,7 +284,7 @@ static bool update_set_ids(MutableSpan set_ids, const Span values1, const Span values2, const Span sorted_to_values1, - MutableSpan sorted_to_values2, + const Span sorted_to_values2, const float threshold, const int component_i) {