@@ -149,12 +149,11 @@ { } - (void)dealloc { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR /* Get rid of a stupid warning */ [super dealloc]; } @end @@ -217,12 +216,11 @@ } - (void)insertObject: (id)object atIndex: (size_t)index { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void)insertObjectsFromArray: (OFArray*)array atIndex: (size_t)index { @@ -243,12 +241,11 @@ } - (void)replaceObjectAtIndex: (size_t)index withObject: (id)object { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void)setObject: (id)object atIndexedSubscript: (size_t)index { @@ -295,12 +292,11 @@ } } - (void)removeObjectAtIndex: (size_t)index { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void)removeObject: (id)object { size_t i, count;