From b2bc15c64e0983587ba447014cdec0f85700d71b Mon Sep 17 00:00:00 2001 From: theraven Date: Sun, 25 Oct 2009 15:47:57 +0000 Subject: [PATCH] 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... --- sarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sarray.c b/sarray.c index f61a723..a091f11 100644 --- a/sarray.c +++ b/sarray.c @@ -309,7 +309,7 @@ sarray_realloc (struct sarray *array, int newsize) if (rounded_size <= array->capacity) 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, */ /* and insert empty_bucket in newly allocated places. */