mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 04:04:07 +08:00
0031455: Modeling Algorithms - useless pointer casts in BRepAlgoAPI classes
Useless casts are removed. Off-topic: corrected description of constructor of TCollection_HAsciiString class from TCollection_HExtendedString for the case when input string contains non-Ascii character.
This commit is contained in:
@@ -56,9 +56,7 @@ BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1,
|
||||
:
|
||||
BRepAlgoAPI_BooleanOperation(S1, S2, BOPAlgo_FUSE)
|
||||
{
|
||||
BRepAlgoAPI_BooleanOperation* pBO=
|
||||
(BRepAlgoAPI_BooleanOperation*) (void*) this;
|
||||
pBO->Build();
|
||||
Build();
|
||||
}
|
||||
//=======================================================================
|
||||
//function : BRepAlgoAPI_Fuse
|
||||
@@ -70,7 +68,5 @@ BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1,
|
||||
:
|
||||
BRepAlgoAPI_BooleanOperation(S1, S2, aDSF, BOPAlgo_FUSE)
|
||||
{
|
||||
BRepAlgoAPI_BooleanOperation* pBO=
|
||||
(BRepAlgoAPI_BooleanOperation*) (void*) this;
|
||||
pBO->Build();
|
||||
Build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user