diff --git a/ruamoko/lib/AutoreleasePool.r b/ruamoko/lib/AutoreleasePool.r index a787811b0..36883db07 100644 --- a/ruamoko/lib/AutoreleasePool.r +++ b/ruamoko/lib/AutoreleasePool.r @@ -38,11 +38,13 @@ - (id) retain { [self error: "Don't send -retain to an autorelease pool."]; + return self; } - (id) autorelease { [self error: "Don't send -autorelease to an autorelease pool."]; + return self; } - (void) dealloc