Fix compilation error
This commit is contained in:
parent
315cd9d2c8
commit
f081c77422
1 changed files with 1 additions and 1 deletions
|
@ -97,9 +97,9 @@ void AutoUpdater::CheckForUpdates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoUpdater::QuitAndInstall() {
|
void AutoUpdater::QuitAndInstall() {
|
||||||
|
Delegate* delegate = AutoUpdater::GetDelegate();
|
||||||
if (g_update_available) {
|
if (g_update_available) {
|
||||||
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
|
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
|
||||||
Delegate* delegate = AutoUpdater::GetDelegate();
|
|
||||||
if (delegate)
|
if (delegate)
|
||||||
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
|
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue