]> khamidou — GitHub mirrors - electron.git/commitdiff
No need to add "static" for functions in anonymouse namespace.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 13:10:51 +0000 (21:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 13:10:51 +0000 (21:10 +0800)
browser/auto_updater_mac.mm

index 9b69a0a137fd011a3c768e053d6d10e6b3330e9b..87fc684103dc2a32ea05beb28cbece31844e2a14 100644 (file)
@@ -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)