Skip to content

Commit 39a26d2

Browse files
committed
chore: adress comments
1 parent 470f430 commit 39a26d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/compact_object.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ void CompactObj::SetSBF(uint64_t initial_capacity, double fp_prob, double grow_f
718718
*u_.sbf = SBF(initial_capacity, fp_prob, grow_factor, tl.local_mr);
719719
} else {
720720
SetMeta(SBF_TAG);
721-
void* ptr = tl.local_mr->allocate(sizeof(SBF));
721+
void* ptr = tl.local_mr->allocate(sizeof(SBF), alignof(SBF));
722722
u_.sbf = new (ptr) SBF(initial_capacity, fp_prob, grow_factor, tl.local_mr);
723723
}
724724
}

0 commit comments

Comments
 (0)