Skip to content

Commit

Permalink
Fix NSCopying protocol warning in included MAZeroingWeakRef source
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ash authored and Michael Ash committed Dec 27, 2012
1 parent 1bc80c3 commit 7f35d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PLWeakCompatibility/MAZeroingWeakRef.m
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ static void PatchKVOSubclass(Class class)

static void RegisterCustomSubclass(Class subclass, Class superclass)
{
[gCustomSubclassMap setObject: subclass forKey: superclass];
[gCustomSubclassMap setObject: subclass forKey: (id<NSCopying>)superclass];
[gCustomSubclasses addObject: subclass];
}

Expand Down

0 comments on commit 7f35d79

Please sign in to comment.