fix: same stray-brace error as 7cd2bed — and label the boundary so it stops recurring
I anchored on the FACTORIES banner again, which sits after the anonymous namespace's
closing brace, so FBiomeBlendHeightSource landed at file scope and the `}` added with
it closed nothing. Identical to 7cd2bed, in the same file, for the identical reason.
Removed the early closer so the class keeps internal linkage with the other six.
The root cause is that the closing brace was unlabelled, so it reads as noise when
scanning for an insertion point. Both op files now mark it explicitly with what goes
above and what happens if you insert below. Cheap, and it turns a repeatable mistake
into a visible one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -994,7 +994,12 @@ namespace
|
|||||||
const UVoxelStrateManager* Manager;
|
const UVoxelStrateManager* Manager;
|
||||||
float Base, Seal;
|
float Base, Seal;
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
} // ⚠️ FIN DU NAMESPACE ANONYME — TOUT NOUVEL OPÉRATEUR SE MET AU-DESSUS DE CETTE LIGNE.
|
||||||
|
// Même piège que dans VoxelHeightOpStack.cpp : s'ancrer sur une bannière située plus bas
|
||||||
|
// (« FVoxelOpStack », « FABRIQUES ») insère la classe HORS du namespace anonyme, et l'accolade
|
||||||
|
// ajoutée avec elle ne ferme rien → C2059.
|
||||||
|
// END OF THE ANONYMOUS NAMESPACE — new operators go ABOVE this line.
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// FVoxelOpStack
|
// FVoxelOpStack
|
||||||
|
|||||||
@@ -350,8 +350,6 @@ namespace
|
|||||||
FSurfaceGenerationParams P;
|
FSurfaceGenerationParams P;
|
||||||
uint32 SeedU;
|
uint32 SeedU;
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// COMBINER `Mask` — MÉLANGE DE BIOMES / BIOME BLEND
|
// COMBINER `Mask` — MÉLANGE DE BIOMES / BIOME BLEND
|
||||||
@@ -410,7 +408,14 @@ namespace
|
|||||||
const IVoxelBiomeField* Field;
|
const IVoxelBiomeField* Field;
|
||||||
bool bBlend = true;
|
bool bBlend = true;
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
} // ⚠️ FIN DU NAMESPACE ANONYME — TOUT NOUVEL OPÉRATEUR SE MET AU-DESSUS DE CETTE LIGNE.
|
||||||
|
// En dessous commence `namespace VoxelHeightOps` (les fabriques). Y insérer une classe la sort
|
||||||
|
// de la liaison interne, et l'accolade qu'on ajoute avec elle ne ferme rien → C2059. Erreur
|
||||||
|
// commise DEUX fois (7cd2bed, puis à nouveau ici) en s'ancrant sur la bannière « FABRIQUES »,
|
||||||
|
// qui est de l'autre côté de cette accolade.
|
||||||
|
// END OF THE ANONYMOUS NAMESPACE — new operators go ABOVE this line. Anchoring on the FACTORIES
|
||||||
|
// banner below puts them outside it, and the brace added with them closes nothing.
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// FABRIQUES / FACTORIES
|
// FABRIQUES / FACTORIES
|
||||||
|
|||||||
Reference in New Issue
Block a user