mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024209: Cppcheck errors "unusedScopedObject"
Fixed bug with temporary objects.
This commit is contained in:
@@ -80,7 +80,7 @@ void StdSelect_BRepSelectionTool
|
||||
|
||||
if( isAutoTriangulation && !BRepTools::Triangulation (theShape, Precision::Infinite()) )
|
||||
{
|
||||
BRepMesh_IncrementalMesh(theShape, theDeflection, Standard_False, theDeviationAngle);
|
||||
BRepMesh_IncrementalMesh aMesher(theShape, theDeflection, Standard_False, theDeviationAngle);
|
||||
}
|
||||
|
||||
Handle(StdSelect_BRepOwner) aBrepOwner;
|
||||
|
Reference in New Issue
Block a user