Skip to content

Commit

Permalink
Merge pull request #288 from ParsePlatform/nlutsenko.generics
Browse files Browse the repository at this point in the history
Add missing backward compatibility to generic type in PFInstallation.
  • Loading branch information
nlutsenko committed Sep 18, 2015
2 parents 2dce171 + f643c0a commit f787079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parse/PFInstallation.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ - (void)_clearDeviceToken {
[super removeObjectForKey:PFInstallationKeyDeviceToken];
}

- (BFTask<PFVoid> *)_validateDeleteAsync {
- (BFTask PF_GENERIC(PFVoid) *)_validateDeleteAsync {
return [[super _validateDeleteAsync] continueWithSuccessBlock:^id(BFTask PF_GENERIC(PFVoid) *task) {
NSError *error = [PFErrorUtilities errorWithCode:kPFErrorCommandUnavailable
message:@"Installation cannot be deleted"];
Expand Down

0 comments on commit f787079

Please sign in to comment.