Skip to content

Commit

Permalink
Fixed unintentional iOS 8 dependency
Browse files Browse the repository at this point in the history
Was using constant QOS_CLASS_DEFAULT that was added in the iOS 8 SDK.
Changed back to the equivalent DISPATCH_QUEUE_PRIORITY_DEFAULT.
This should fix the Jenkins build.
  • Loading branch information
snej committed Feb 19, 2015
1 parent f9c373d commit d14c96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CBLSymmetricKey.m
Original file line number Diff line number Diff line change
@@ -243,7 +243,7 @@ - (NSInputStream*) decryptStream: (NSInputStream*)encryptedStream {
[writer open];

NSData* keyData = _keyData;
dispatch_async(dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), ^{
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
if (!decryptStreamSync(encryptedStream, writer, keyData))
Warn(@"CBLSymmetricKey: decryptStream failed (bad input?)");
[writer close];

0 comments on commit d14c96f

Please sign in to comment.