Removed assertion. I'm not entirely sure why it was there, but it was preventing Gorm running (along with anything else that provided categories on subclassed classes). I need some more testing to make sure that this didn't break anything else, but Gorm now runs correctly with the new runtime, so it seems like an improvement...

main
theraven 16 years ago
parent 5bb7c43244
commit b2bc15c64e

@ -309,7 +309,7 @@ sarray_realloc (struct sarray *array, int newsize)
if (rounded_size <= array->capacity) if (rounded_size <= array->capacity)
return; return;
assert (array->ref_count == 1); /* stop if lazy copied... */ // assert (array->ref_count == 1); /* stop if lazy copied... */
/* We are asked to extend the array -- allocate new bucket table, */ /* We are asked to extend the array -- allocate new bucket table, */
/* and insert empty_bucket in newly allocated places. */ /* and insert empty_bucket in newly allocated places. */

Loading…
Cancel
Save