diff options
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 45d57ed..9f04897 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -287,8 +287,8 @@ class ClassDefAliasImpl : public DefinitionAliasMixin<ClassDef> { public: ClassDefAliasImpl(const Definition *newScope,const ClassDef *cd) - : DefinitionAliasMixin(newScope,cd) {} - virtual ~ClassDefAliasImpl() {} + : DefinitionAliasMixin(newScope,cd) { init(); } + virtual ~ClassDefAliasImpl() { deinit(); } virtual DefType definitionType() const { return TypeClass; } const ClassDef *getCdAlias() const { return toClassDef(getAlias()); } |