mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0027067: Avoid use of virtual methods for implementation of destructors in legacy classes
Redundant methods Delete() and Desroy(), created in CDL as a hack to define destructor for the class, are removed; their definitions are converted to definition of destructors. In a couple of places methods Destroy() are preserved (bug made non-virtual) because they are called explicitly.
This commit is contained in:
@@ -182,11 +182,7 @@ public:
|
||||
//! Can be used for queries more accurate than the default ones.
|
||||
Standard_EXPORT Handle(Transfer_TransientProcess) TransientProcess() const;
|
||||
|
||||
Standard_EXPORT virtual void Destroy();
|
||||
Standard_EXPORT virtual ~TransferBRep_Reader() { Destroy(); }
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT virtual ~TransferBRep_Reader();
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user