forked from OSchip/llvm-project
parent
3f4ebba1fa
commit
a08154d85f
|
@ -231,7 +231,7 @@ void NamespaceDecl::Destroy(ASTContext& C) {
|
|||
// NamespaceDecl uses "NextDeclarator" to chain namespace declarations
|
||||
// together. They are all top-level Decls.
|
||||
|
||||
this->~Decl();
|
||||
this->~NamespaceDecl();
|
||||
C.getAllocator().Deallocate((void *)this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue