projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027067: Avoid use of virtual methods for implementation of destructors in legacy...
[occt.git]
/
src
/
CDM
/
CDM_Document.hxx
diff --git
a/src/CDM/CDM_Document.hxx
b/src/CDM/CDM_Document.hxx
index
d34be1c
..
5cc70e5
100644
(file)
--- a/
src/CDM/CDM_Document.hxx
+++ b/
src/CDM/CDM_Document.hxx
@@
-384,11
+384,7
@@
protected:
Standard_EXPORT CDM_Document();
- Standard_EXPORT virtual void Destroy();
-~CDM_Document()
-{
- Destroy();
-}
+ Standard_EXPORT ~CDM_Document();
Standard_Boolean myResourcesAreLoaded;