fix(v1.0.1): VDE-016 — using declarations at vde::brep scope, not inside anonymous ns
CI / Build & Test (push) Failing after 34s
CI / Release Build (push) Failing after 25s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled

Root cause: using declarations inside anonymous namespace don't propagate
to public functions defined after the anonymous namespace closes.

Fix:
- using SSICurveData; and using ClassResult; at vde::brep scope
- Remove self-referencing using vde::brep::ClassResult
- Remove duplicate using from inside anonymous namespace
This commit is contained in:
茂之钳
2026-07-28 07:48:28 +08:00
parent d9963d8e85
commit 477d13dc80
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -41,7 +41,8 @@ using core::AABB3D;
AABB3D face_bounds(const BrepModel& body, int face_id);
Vector3D face_normal(const BrepModel& body, int face_id);
struct SSICurveData;
using vde::brep::ClassResult;
using ClassResult;
using SSICurveData;
/// SSI curve data for a face pair
struct SSICurveData {
@@ -54,12 +55,9 @@ struct SSICurveData {
};
namespace {
// GCC two-phase lookup: bring enclosing namespace types into scope
using vde::brep::SSICurveData;
using vde::brep::ClassResult;
// ═══════════════════════════════════════════════════════════
// Constants & types
// Mesh caching
// ═══════════════════════════════════════════════════════════
/// ClassResult is now defined in ssi_boolean.h (public API)