Use self to avoid warning

This commit is contained in:
Jakob committed 2019-12-14 22:53:56 +01:00
1 parent 0cd3aa0d9d
commit 771b193924
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ static NSMutableDictionary *sharedUpdaters = nil;
// either in applicationWillFinishLaunching: or by setting properties right after initialisation
dispatch_async(dispatch_get_main_queue(), ^{
NSError *updaterError = nil;
if (![_updater startUpdater:&updaterError]) {
if (![self.updater startUpdater:&updaterError]) {
SULog(SULogLevelError, @"Error: Failed to start updater with error: %@", updaterError);
abort();
}