Merge "libutils: give BasicHashtableImpl a virtual destructor"
This commit is contained in:
commit
a49a4a2e55
@ -52,6 +52,7 @@ protected:
|
||||
BasicHashtableImpl(size_t entrySize, bool hasTrivialDestructor,
|
||||
size_t minimumInitialCapacity, float loadFactor);
|
||||
BasicHashtableImpl(const BasicHashtableImpl& other);
|
||||
virtual ~BasicHashtableImpl();
|
||||
|
||||
void dispose();
|
||||
|
||||
|
@ -42,6 +42,10 @@ BasicHashtableImpl::BasicHashtableImpl(const BasicHashtableImpl& other) :
|
||||
}
|
||||
}
|
||||
|
||||
BasicHashtableImpl::~BasicHashtableImpl()
|
||||
{
|
||||
}
|
||||
|
||||
void BasicHashtableImpl::dispose() {
|
||||
if (mBuckets) {
|
||||
releaseBuckets(mBuckets, mBucketCount);
|
||||
|
Loading…
Reference in New Issue
Block a user