Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
griff committed Mar 29, 2018
1 parent dcb8ef6 commit 2ee8a48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Framework/src/MZOperationsController.m
Expand Up @@ -100,31 +100,31 @@ - (void)addOperationsToQueue:(NSOperationQueue*)queue

- (void)operationFinished:(GTMKeyValueChangeNotification *)notification
{
MZLoggerDebug("Finished operation");
MZLoggerDebug(@"Finished operation");
@synchronized(self)
{
if(self.finished) {
MZLoggerDebug("Everything already finished");
MZLoggerDebug(@"Everything already finished");
return;
}
for(NSOperation* op in self.operations) {
if(![op isFinished]) {
MZLoggerDebug("Not all finished");
MZLoggerDebug(@"Not all finished %@", op);
return;
}
}
self.finished = YES;
}
MZLoggerDebug("Sending operationsFinished");
MZLoggerDebug(@"Sending operationsFinished");
[self retain];
[self performSelectorOnMainThread:@selector(operationsFinished) withObject:nil waitUntilDone:YES];
[self release];
}

- (void)errorChanged:(GTMKeyValueChangeNotification *)notification
{
MZLoggerDebug("Error changed");
MZErrorOperation* op = [notification object];
MZLoggerDebug(@"Error changed %@", op.error);
self.error = op.error;
}

Expand Down
6 changes: 3 additions & 3 deletions MetaZ.xcodeproj/project.pbxproj
Expand Up @@ -2836,7 +2836,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx10.12;
SDKROOT = macosx;
USE_HEADERMAP = NO;
};
name = "Remote Debug";
Expand Down Expand Up @@ -3539,7 +3539,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx10.12;
SDKROOT = macosx;
USE_HEADERMAP = NO;
};
name = Debug;
Expand Down Expand Up @@ -3571,7 +3571,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
SDKROOT = macosx10.12;
SDKROOT = macosx;
USE_HEADERMAP = NO;
};
name = Release;
Expand Down

0 comments on commit 2ee8a48

Please sign in to comment.