-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Here:
operator new/delete defined as:
static void* operator new(size_t size, unsigned capacity) {
return ::operator new(size + capacity*sizeof(NodeRef));
}but then
MutableInterior* grow() {
assert_precondition(capacity() < kMaxChildren);
auto replacement = (MutableInterior*)realloc(this,should be malloc/free used instead of ::operator new in the first place,
to make it possible to use realloc here?
Metadata
Metadata
Assignees
Labels
No labels