@@ -18,10 +18,12 @@ #import "OFEnumerationMutationException.h" #import "OFString.h" @implementation OFEnumerationMutationException +@synthesize object = _object; + + (instancetype)exceptionWithObject: (id)object { return [[[self alloc] initWithObject: object] autorelease]; } @@ -50,11 +52,6 @@ { return [OFString stringWithFormat: @"Object of class %@ was mutated during enumeration!", [_object class]]; } - -- (id)object -{ - OF_GETTER(_object, true) -} @end