sizeof(int*) where sizeof(int) was intended
This commit is contained in:
parent
d40c1f742f
commit
bfee319fb0
@ -70,7 +70,7 @@ class HashCuckooRep : public MemTableRep {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cuckoo_path_ = reinterpret_cast<int*>(
|
cuckoo_path_ = reinterpret_cast<int*>(
|
||||||
arena_->Allocate(sizeof(int*) * (cuckoo_path_max_depth_ + 1)));
|
arena_->Allocate(sizeof(int) * (cuckoo_path_max_depth_ + 1)));
|
||||||
is_nearly_full_ = false;
|
is_nearly_full_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user