Archived issue #0024768

Eliminate redundant ::Destroy() function

Open CASCADEOCCT:Codingclosed1 public note

Search issues

Description

For historical reasons destructors in many classes have been declared using ::Destroy() method. Such constructions should be eliminated in most cases.
  //! Frees memory allocated.
  Standard_EXPORT void Destroy();
  ~OSD_SharedLibrary()
  {
    Destroy();
  }

Public activity

1 archived note

Participants are labeled by their role within this record.

01Author
Dear Commenter 1,

please close the issue as duplicate of #0027067.

Related records