Use unnamed namespace for struct Line in basegeom.cpp

See https://github.com/NGSolve/netgen/issues/198
This commit is contained in:
Matthias Hochsteger 2024-12-06 11:15:40 +01:00
parent c7adfee5d8
commit 36cdde4889

View File

@ -214,6 +214,7 @@ namespace netgen
} }
} }
namespace {
struct Line struct Line
{ {
Point<3> p0, p1; Point<3> p0, p1;
@ -230,6 +231,7 @@ namespace netgen
return 1e99; return 1e99;
} }
}; };
}
void NetgenGeometry :: Clear() void NetgenGeometry :: Clear()
{ {