mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0026365: Optimization of work of OSD_Parallel class members for GeomLib_CheckCurveOnSurface
Removed workaround within GeomLib_CheckCurveOnSurface.
This commit is contained in:
@@ -390,19 +390,9 @@ void GeomLib_CheckCurveOnSurface::Init( const Handle(Geom_Curve)& theCurve,
|
||||
//function : Perform
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
#ifndef HAVE_TBB
|
||||
//After fixing bug # 26365, this fragment should be deleted
|
||||
//(together the text "#ifdef HAVE_TBB")
|
||||
|
||||
void GeomLib_CheckCurveOnSurface::Perform(const Handle(Geom2d_Curve)& thePCurve,
|
||||
const Standard_Boolean)
|
||||
{
|
||||
const Standard_Boolean isTheMTDisabled = Standard_True;
|
||||
#else
|
||||
void GeomLib_CheckCurveOnSurface::Perform(const Handle(Geom2d_Curve)& thePCurve,
|
||||
const Standard_Boolean isTheMTDisabled)
|
||||
{
|
||||
#endif
|
||||
if( myCurve.IsNull() ||
|
||||
mySurface.IsNull() ||
|
||||
thePCurve.IsNull())
|
||||
|
Reference in New Issue
Block a user