From 6ad983bb7220eed2f635163a7fcfdac811b80ca0 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Fri, 13 May 2016 21:26:47 +0600 Subject: CLOUD: Fix GCC static cloudThread compile error It's not static anymore. --- backends/cloud/dropbox/finalcountdownrequest.h | 2 +- backends/cloud/manager.cpp | 4 ++-- backends/cloud/storage.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/cloud') diff --git a/backends/cloud/dropbox/finalcountdownrequest.h b/backends/cloud/dropbox/finalcountdownrequest.h index 34e8a807f9..5ef942180c 100644 --- a/backends/cloud/dropbox/finalcountdownrequest.h +++ b/backends/cloud/dropbox/finalcountdownrequest.h @@ -35,7 +35,7 @@ public: FinalCountdownRequest(Callback cb) : Request(cb), _times(5) {}; virtual bool handle() { - if(--_times == 0) { + if (--_times == 0) { warning("It's the final countdown!"); _callback(0); //meh, don't have anything for you, my caller return true; diff --git a/backends/cloud/manager.cpp b/backends/cloud/manager.cpp index 05b23771b0..58bb0ce83f 100644 --- a/backends/cloud/manager.cpp +++ b/backends/cloud/manager.cpp @@ -25,7 +25,7 @@ namespace Cloud { -Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {}; +Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {} Manager::~Manager() { delete _currentStorage; } @@ -38,4 +38,4 @@ void Manager::syncSaves() { if (storage) storage->syncSaves(); } -} //end of namespace Cloud \ No newline at end of file +} //end of namespace Cloud diff --git a/backends/cloud/storage.cpp b/backends/cloud/storage.cpp index 597eb6bb13..23dcd8c379 100644 --- a/backends/cloud/storage.cpp +++ b/backends/cloud/storage.cpp @@ -26,7 +26,7 @@ namespace Cloud { -static void cloudThread(void *thread) { +void cloudThread(void *thread) { Storage *cloudThread = (Storage *)thread; cloudThread->handler(); } -- cgit v1.2.3