Skip to content

Commit

Permalink
Renaming function-argument with strange name. Gave error on project w…
Browse files Browse the repository at this point in the history
…ith llvm 3.0 for some reason.
  • Loading branch information
hfossli committed Feb 1, 2012
1 parent fe59756 commit d0e6aec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/MagicalRecordHelpers.h
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions Source/MagicalRecordHelpers.m
Expand Up @@ -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];
}
Expand Down

0 comments on commit d0e6aec

Please sign in to comment.