Skip to content
Browse files

Simplify logic for auto-detecting ARC

  • Loading branch information...
1 parent b04a088 commit 1d636910118f5b9843fcb4c12d813f219ffb7a2c @crayment crayment committed Dec 7, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 Source/CoreData+MagicalRecord.h
View
6 Source/CoreData+MagicalRecord.h
@@ -24,11 +24,7 @@
#import <CoreData/CoreData.h>
-#if __has_feature(objc_arr)
-#define MR_USE_ARC 1
-#else
-#define MR_USE_ARC 0
-#endif
+#define MR_USE_ARC __has_feature(objc_arr)
#if MR_USE_ARC
#define MR_RETAIN(xx)

0 comments on commit 1d63691

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