From af30b28a60362420b0cdf0579ea8a9fca1902045 Mon Sep 17 00:00:00 2001 From: "Claude (cleanup)" Date: Mon, 22 Jun 2026 15:02:24 +0200 Subject: [PATCH] Fix(engine): brace-init fix(engine): brace-init for sofa::type::fixed_array" Recent SOFA versions removed the (T, T) constructor of sofa::type::fixed_array; only aggregate brace-initialisation remains valid. Building Shell against current SOFA otherwise fails with: FindClosePoints.inl:62: error: array initializer must be an initializer list. The two new braces are the only change; the semantics, including the build order of the (i, j) pair, are preserved. --- src/Shell/engine/FindClosePoints.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shell/engine/FindClosePoints.inl b/src/Shell/engine/FindClosePoints.inl index 88b989c..2c2d685 100644 --- a/src/Shell/engine/FindClosePoints.inl +++ b/src/Shell/engine/FindClosePoints.inl @@ -59,7 +59,7 @@ void FindClosePoints::doUpdate() for (Index i=0; i(i,j)); + list.push_back(type::fixed_array{i, j}); } } }