occt: master 6928e351

Author Committer Branch Timestamp Parent
abv kgv master 2015-09-21 13:38:01 master e2ba9cb1
Affected Issues  0025571: Avoid base Classes without virtual Destructors
Changeset 0025571: Avoid base Classes without virtual Destructors

Destructors of collection classes from NCollection and math_Function are made virtual to allow safe destruction by pointer to base class.

Destructors of classes HatchGen_IntersectionPoint, IntCurveSurface_Intersection, Intf_Interference, IntRes2d_Intersection are made protected to avoid possibility of destructing by pointer to corresponding base class.
mod - src/HatchGen/HatchGen_IntersectionPoint.cxx Diff File
mod - src/HatchGen/HatchGen_IntersectionPoint.hxx Diff File
mod - src/IntCurveSurface/IntCurveSurface_Intersection.hxx Diff File
mod - src/Intf/Intf_Interference.hxx Diff File
mod - src/IntRes2d/IntRes2d_Intersection.hxx Diff File
mod - src/math/math_Function.hxx Diff File
mod - src/NCollection/NCollection_BaseList.hxx Diff File
mod - src/NCollection/NCollection_BaseMap.hxx Diff File
mod - src/NCollection/NCollection_BaseSequence.hxx Diff File
mod - src/NCollection/NCollection_BaseVector.hxx Diff File
mod - src/NCollection/NCollection_DataMap.hxx Diff File
mod - src/NCollection/NCollection_IndexedDataMap.hxx Diff File
mod - src/NCollection/NCollection_IndexedMap.hxx Diff File
mod - src/NCollection/NCollection_List.hxx Diff File
mod - src/NCollection/NCollection_Map.hxx Diff File
mod - src/NCollection/NCollection_Sequence.hxx Diff File
mod - src/NCollection/NCollection_Vector.hxx Diff File