No need to add "static" for functions in anonymouse namespace.
This commit is contained in:
parent
a8f172752a
commit
73ec7783af
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue