SmallPtrSet: Make destructor available for inlining

llvm-svn: 259019
This commit is contained in:
Matthias Braun
2016-01-28 04:49:14 +00:00
parent 924f080529
commit 569f207018
2 changed files with 4 additions and 6 deletions

View File

@@ -296,8 +296,3 @@ void SmallPtrSetImplBase::swap(SmallPtrSetImplBase &RHS) {
RHS.SmallArray);
std::swap(this->NumElements, RHS.NumElements);
}
SmallPtrSetImplBase::~SmallPtrSetImplBase() {
if (!isSmall())
free(CurArray);
}