No need to add "static" for functions in anonymouse namespace.

This commit is contained in:
Cheng Zhao 2014-01-31 21:10:51 +08:00
parent a8f172752a
commit 73ec7783af

View 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)