From 7cd2bed23772bafb70947833a81a3cc5fba985f3 Mon Sep 17 00:00:00 2001 From: Fr0zka Date: Mon, 27 Jul 2026 16:18:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20stray=20brace=20=E2=80=94=20the=20sky=20?= =?UTF-8?q?cap=20class=20landed=20outside=20the=20anonymous=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My edit anchored on the FACTORIES banner, which sits AFTER the anonymous namespace's closing brace. So FSkyCapHeightSource was inserted at file scope and the `}` I added with it closed nothing — C2059 at the following `}`. Removed the early closer instead of the late one, so the class keeps internal linkage alongside the other five rather than leaking into the TU's global scope. Co-Authored-By: Claude Opus 5 --- Source/VoxelForge/Private/VoxelHeightOpStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/VoxelForge/Private/VoxelHeightOpStack.cpp b/Source/VoxelForge/Private/VoxelHeightOpStack.cpp index ff736b2..720276c 100644 --- a/Source/VoxelForge/Private/VoxelHeightOpStack.cpp +++ b/Source/VoxelForge/Private/VoxelHeightOpStack.cpp @@ -275,7 +275,6 @@ namespace private: FSurfaceGenerationParams P; }; -} //========================================================================= // SOURCE — LE CIEL / SKY CAP (c'est une ALTITUDE, donc c'est un op de hauteur) @@ -352,6 +351,7 @@ namespace }; } + //============================================================================= // FABRIQUES / FACTORIES //=============================================================================