ServerApp::Quit() was hiding MessageLooper::Quit() due to the default

paramenter, causing warnings when compiling with gcc4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37526 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2010-07-15 07:32:15 +00:00
parent 47a694d367
commit e4c638f650
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -223,6 +223,13 @@ ServerApp::InitCheck()
}
void
ServerApp::Quit()
{
Quit(-1);
}
/*! \brief This quits the application and deletes it. You're not supposed
to call its destructor directly.
+3 -1
View File
@@ -48,7 +48,9 @@ public:
virtual ~ServerApp();
status_t InitCheck();
void Quit(sem_id shutdownSemaphore = -1);
virtual void Quit();
void Quit(sem_id shutdownSemaphore);
virtual port_id MessagePort() const { return fMessagePort; }