Part: fix build failures with OCC >= 7.6

This commit is contained in:
wmayer
2022-08-09 18:42:38 +02:00
parent 2062f9ce87
commit 735eecc42b
8 changed files with 36 additions and 0 deletions

View File

@@ -1217,7 +1217,11 @@ Part::BRepBuilderAPI_RefineModel::BRepBuilderAPI_RefineModel(const TopoDS_Shape&
Build();
}
#if OCC_VERSION_HEX >= 0x070600
void Part::BRepBuilderAPI_RefineModel::Build(const Message_ProgressRange&)
#else
void Part::BRepBuilderAPI_RefineModel::Build()
#endif
{
if (myShape.IsNull())
Standard_Failure::Raise("Cannot remove splitter from empty shape");