Permalink
Browse files

Renaming function-argument with strange name. Gave error on project w…

…ith llvm 3.0 for some reason.
  • Loading branch information...
1 parent fe59756 commit d0e6aec2d16c1c7352500d30f208b4947dbd34e9 @hfossli hfossli committed Feb 1, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 Source/MagicalRecordHelpers.h
  2. +2 −2 Source/MagicalRecordHelpers.m
View
2 Source/MagicalRecordHelpers.h
@@ -29,7 +29,7 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
+ (SEL) errorHandlerAction;
+ (id) errorHandlerTarget;
-+ (void) setDefaultModelForTestCase:(Class)class;
++ (void) setDefaultModelForTestCase:(Class)aClass;
+ (void) setDefaultModelNamed:(NSString *)modelName;
+ (NSString *) defaultStoreName;
View
4 Source/MagicalRecordHelpers.m
@@ -127,9 +127,9 @@ + (void) setDefaultModelNamed:(NSString *)modelName;
[NSManagedObjectModel MR_setDefaultManagedObjectModel:model];
}
-+ (void) setDefaultModelForTestCase:(Class)class;
++ (void) setDefaultModelForTestCase:(Class)aClass;
{
- NSBundle *bundle = [NSBundle bundleForClass:class];
+ NSBundle *bundle = [NSBundle bundleForClass:aClass];
NSManagedObjectModel *model = [NSManagedObjectModel mergedModelFromBundles:[NSArray arrayWithObject:bundle]];
[NSManagedObjectModel MR_setDefaultManagedObjectModel:model];
}

0 comments on commit d0e6aec

Please sign in to comment.