diff options
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 1671362..f0a63d2 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -157,8 +157,8 @@ class NamespaceDefAliasImpl : public DefinitionAliasMixin<NamespaceDef> { public: NamespaceDefAliasImpl(const Definition *newScope,const NamespaceDef *nd) - : DefinitionAliasMixin(newScope,nd) {} - virtual ~NamespaceDefAliasImpl() {} + : DefinitionAliasMixin(newScope,nd) { init(); } + virtual ~NamespaceDefAliasImpl() { deinit(); } virtual DefType definitionType() const { return TypeNamespace; } const NamespaceDef *getNSAlias() const { return toNamespaceDef(getAlias()); } |