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:
@@ -223,6 +223,13 @@ ServerApp::InitCheck()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
ServerApp::Quit()
|
||||||
|
{
|
||||||
|
Quit(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*! \brief This quits the application and deletes it. You're not supposed
|
/*! \brief This quits the application and deletes it. You're not supposed
|
||||||
to call its destructor directly.
|
to call its destructor directly.
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,9 @@ public:
|
|||||||
virtual ~ServerApp();
|
virtual ~ServerApp();
|
||||||
|
|
||||||
status_t InitCheck();
|
status_t InitCheck();
|
||||||
void Quit(sem_id shutdownSemaphore = -1);
|
|
||||||
|
virtual void Quit();
|
||||||
|
void Quit(sem_id shutdownSemaphore);
|
||||||
|
|
||||||
virtual port_id MessagePort() const { return fMessagePort; }
|
virtual port_id MessagePort() const { return fMessagePort; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user