occt: master 547702a1

Author Committer Branch Timestamp Parent
abv bugmaster master 2014-01-09 07:56:20 master b24ac892
Affected Issues  0024489: Avoid type casts in call to Standard::Free()
Changeset 0024489: Avoid type casts in call to Standard::Free()

Method Standard::Free() is converted to template, so that pointer is nullified using its proper type.
Unnecessary type cases in calls to Standard::Free(), Standard::Reallocate(), and NCollection_BaseAllocator::Free() eliminated throughout OCCT code.
mod - src/AdvApp2Var/AdvApp2Var_SysBase.cxx Diff File
mod - src/BOPDS/BOPDS_PassKey.lxx Diff File
mod - src/DBC/DBC_VArray.gxx Diff File
mod - src/FSD/FSD_BinaryFile.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.cxx Diff File
mod - src/Graphic3d/Graphic3d_Strips.cxx Diff File
mod - src/NCollection/NCollection_BaseAllocator.cxx Diff File
mod - src/NCollection/NCollection_LocalArray.hxx Diff File
mod - src/NCollection/NCollection_UtfString.hxx Diff File
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx Diff File
mod - src/Standard/Standard.cdl Diff File
mod - src/Standard/Standard.cxx Diff File
mod - src/Standard/Standard_DefineAlloc.hxx Diff File
mod - src/Standard/Standard_MMgrOpt.cxx Diff File
mod - src/Standard/Standard_MMgrOpt.hxx Diff File
mod - src/Standard/Standard_MMgrRaw.cxx Diff File
mod - src/Standard/Standard_MMgrRaw.hxx Diff File
mod - src/Standard/Standard_MMgrRoot.hxx Diff File
mod - src/Standard/Standard_MMgrTBBalloc.cxx Diff File
mod - src/Standard/Standard_MMgrTBBalloc.hxx Diff File
mod - src/Storage/Storage_Schema.cxx Diff File
mod - src/TCollection/TCollection_Array2.gxx Diff File
mod - src/TCollection/TCollection_ExtendedString.cxx Diff File
mod - src/TopExp/TopExp_Explorer.cxx Diff File
mod - src/XmlObjMgt/XmlObjMgt.cxx Diff File