Commit 25283d93 authored by luz's avatar luz

Application: overloaded terminateApp() was not compatible with some...

Application: overloaded terminateApp() was not compatible with some boost::bind cases, so renamed one variant to terminateAppWith(err)
parent d9fdb828
......@@ -116,7 +116,7 @@ void Application::terminateApp(int aExitCode)
void Application::terminateApp(ErrorPtr aError)
void Application::terminateAppWith(ErrorPtr aError)
{
if (Error::isOK(aError)) {
mainLoop.terminate(EXIT_SUCCESS);
......
......@@ -59,7 +59,7 @@ namespace p44 {
/// terminate app
/// @param aError if NULL or ErrorOK, app will terminate with EXIT_SUCCESS
/// otherwise, app will log aError's description at LOG_ERR level and then terminate with EXIT_FAILURE
void terminateApp(ErrorPtr aError);
void terminateAppWith(ErrorPtr aError);
protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment