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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user