Skip to content
Browse files

Fixes an ARC incompatibility.

  • Loading branch information...
1 parent 7eeb302 commit 59e8ea1d55ad2c417daa6aa2325cfe38d3cf993d @robrix committed Mar 21, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 RXFutures/RXFuture.m
View
4 RXFutures/RXFuture.m
@@ -17,7 +17,11 @@ @implementation RXFuture
+(RXFuture *)future {
+#if !__has_feature(objc_arc)
return [[self new] autorelease];
+#else
+ return [self new];
+#endif
}

0 comments on commit 59e8ea1

Please sign in to comment.
Something went wrong with that request. Please try again.