fix null mod_name

This commit is contained in:
obdev
2023-04-13 06:46:35 +00:00
committed by ob-robot
parent fdc59d1d46
commit 36e28a5f79
89 changed files with 175 additions and 183 deletions

View File

@ -196,7 +196,7 @@ TEST(TestObIteratableHashSet, hash_full)
{
const uint64_t N = 10000;
typedef ObIteratableHashSet<int64_t, N> HashSetType;
HashSetType *hashset = (HashSetType *)ob_malloc(sizeof(HashSetType));
HashSetType *hashset = (HashSetType *)ob_malloc(sizeof(HashSetType), ObNewModIds::TEST);
ASSERT_TRUE(NULL != hashset);
new(hashset) HashSetType();
ASSERT_TRUE(NULL != hashset);