mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
No need to add "static" for functions in anonymouse namespace.
This commit is contained in:
@@ -18,9 +18,9 @@ namespace auto_updater {
|
||||
namespace {
|
||||
|
||||
// The gloal SQRLUpdater object.
|
||||
static SQRLUpdater* g_updater = nil;
|
||||
SQRLUpdater* g_updater = nil;
|
||||
|
||||
static void RelaunchToInstallUpdate() {
|
||||
void RelaunchToInstallUpdate() {
|
||||
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
|
||||
AutoUpdaterDelegate* delegate = AutoUpdater::GetDelegate();
|
||||
if (delegate)
|
||||
|
||||
Reference in New Issue
Block a user