CLOUD: Fix GCC static cloudThread compile error
It's not static anymore.
This commit is contained in:
parent
1b89e25580
commit
6ad983bb72
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue