DiscussionsIssue archiveOCCT:Visualization

Archived issue #0028358

class Select3D_SensitiveSet 's destructor, should it be virtual ?

CommunityOCCT:Visualizationclosed2 public notes

Search issues

Description

class Select3D_SensitiveSet 's destructor, should it be virtual ?
please check the picture

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
The destructor should be declared virtual in the base class (it is Standard_Transient in this case).
Specifying "virtual" later on is a good style practice, but is not required by C++ language (has no effect).

02Commenter 2
Dear Commenter 1,

please close the issue.

> Author
>> ok resolved ! please close this issue