Part: Fix compiler warnings [-Wodr]

Type 'struct EdgePoints' violates the C++ One Definition Rule because it's defined in two different translation units
This commit is contained in:
wmayer
2024-12-12 15:58:57 +01:00
committed by Chris Hennes
parent 6780d8a514
commit 7c3164ff61
2 changed files with 10 additions and 0 deletions

View File

@@ -3119,6 +3119,9 @@ TopoShape& TopoShape::makeElementWires(const std::vector<TopoShape>& shapes,
return makeElementCompound(wires, nullptr, SingleShapeCompoundCreationPolicy::returnShape);
}
namespace
{
struct EdgePoints
{
@@ -3145,6 +3148,8 @@ struct EdgePoints
}
};
}
TopoShape TopoShape::reverseEdge(const TopoShape& edge)
{
Standard_Real first = NAN;