View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025577 | Open CASCADE | OCCT:Coding | public | 2014-12-09 15:35 | 2015-01-28 11:01 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Product Version | 6.7.0 | ||||
Target Version | 6.9.0 | ||||
Summary | 0025577: Avoid invocation of virtual Methods of the declared Class in a Constructor or Destructor | ||||
Description | Invoking virtual Methods in a constructor always invokes the Method for the current Class, or its base, even when the constructor is invoked as part of the construction of a derived Class. This also applies to virtual Methods called in a Destructor. | ||||
Steps To Reproduce | bot applicable | ||||
Additional information and documentation updates | This problem is connected with cdl-mechanism. Virtual methods Delete() or Destroy() are called in Destructors of following classes: - Adaptor2d_Curve2d - Adaptor3d_Curve - Adaptor3d_Surface - AppBlend_Approx - AppCont_Function - AppParCurves_MultiCurve - AppParCurves_MultiPoint - ApproxInt_SvSurfaces - BRepPrim_OneAxis - BRepSweep_NumLinearRegularSweep - CDM_Document (Destroy method) - DBC_BaseArray - GeomFill_Profiler - Graphic3d_DataStructureManager (Destroy method) - HatchGen_PointOnHatching - Interface_CopyTool (Destroy method) - math_BFGS - math_FunctionSet - math_FunctionSetRoot - math_FunctionWithDerivative - math_MultipleVarFunctionWithGradient - OSD_Chronometer (Destroy method) - ProjLib_Projector - PrsMgr_Presentation (Destroy method) It is necessary to move functionality of these methods in Destructors and remove them. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-09 15:35 |
|
New Issue | |
2014-12-09 15:35 |
|
Assigned To | => azn |
2014-12-09 15:36 |
|
Assigned To | azn => abv |
2015-01-26 10:38 |
|
Relationship added | related to 0025720 |
2015-01-26 11:02 |
|
Note Added: 0036500 | |
2015-01-26 11:02 |
|
Assigned To | abv => bugmaster |
2015-01-26 11:02 |
|
Status | new => resolved |
2015-01-26 11:02 |
|
Steps to Reproduce Updated | |
2015-01-26 11:12 |
|
Relationship added | duplicate of 0025622 |
2015-01-28 11:01 | bugmaster | Status | resolved => closed |
2015-01-28 11:01 | bugmaster | Assigned To | bugmaster => azn |
2015-01-28 11:01 | bugmaster | Resolution | open => duplicate |