diff --git a/include/utils/BasicHashtable.h b/include/utils/BasicHashtable.h index 7a6c96cef..c235d6252 100644 --- a/include/utils/BasicHashtable.h +++ b/include/utils/BasicHashtable.h @@ -52,6 +52,7 @@ protected: BasicHashtableImpl(size_t entrySize, bool hasTrivialDestructor, size_t minimumInitialCapacity, float loadFactor); BasicHashtableImpl(const BasicHashtableImpl& other); + virtual ~BasicHashtableImpl(); void dispose(); diff --git a/libs/utils/BasicHashtable.cpp b/libs/utils/BasicHashtable.cpp index fd51b7b2e..491d9e98b 100644 --- a/libs/utils/BasicHashtable.cpp +++ b/libs/utils/BasicHashtable.cpp @@ -42,6 +42,10 @@ BasicHashtableImpl::BasicHashtableImpl(const BasicHashtableImpl& other) : } } +BasicHashtableImpl::~BasicHashtableImpl() +{ +} + void BasicHashtableImpl::dispose() { if (mBuckets) { releaseBuckets(mBuckets, mBucketCount);