CLOUD: Fix GCC static cloudThread compile error

It's not static anymore.
This commit is contained in:
Alexander Tkachev 2016-05-13 21:26:47 +06:00
parent 1b89e25580
commit 6ad983bb72
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ public:
FinalCountdownRequest(Callback cb) : Request(cb), _times(5) {}; FinalCountdownRequest(Callback cb) : Request(cb), _times(5) {};
virtual bool handle() { virtual bool handle() {
if(--_times == 0) { if (--_times == 0) {
warning("It's the final countdown!"); warning("It's the final countdown!");
_callback(0); //meh, don't have anything for you, my caller _callback(0); //meh, don't have anything for you, my caller
return true; return true;

View file

@ -25,7 +25,7 @@
namespace Cloud { namespace Cloud {
Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {}; Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {}
Manager::~Manager() { delete _currentStorage; } Manager::~Manager() { delete _currentStorage; }
@ -38,4 +38,4 @@ void Manager::syncSaves() {
if (storage) storage->syncSaves(); if (storage) storage->syncSaves();
} }
} //end of namespace Cloud } //end of namespace Cloud

View file

@ -26,7 +26,7 @@
namespace Cloud { namespace Cloud {
static void cloudThread(void *thread) { void cloudThread(void *thread) {
Storage *cloudThread = (Storage *)thread; Storage *cloudThread = (Storage *)thread;
cloudThread->handler(); cloudThread->handler();
} }