X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fapplication.cpp;h=51f013e72c3cb5876429035d2604c95eb1a1f578;hb=8db2c378e1d006afb792d829857e866541bf81a5;hp=00ff9bea89e8af8bba5fd07fd8b2d426dccc12ed;hpb=967785734be5c3fc6f75da122c2d93ebbb338271;p=libs%2Fcore.git diff --git a/source/core/application.cpp b/source/core/application.cpp index 00ff9be..51f013e 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -2,9 +2,9 @@ #include #endif #include -#include #include -#include "../debug/demangle.h" +#include +#include #include "application.h" #include "getopt.h" @@ -33,14 +33,14 @@ int Application::run(int argc, char **argv, void *data) static bool called = false; if(called) { - cerr<<"Trying to call Application::run_app twice!\n"; + IO::cerr.write("Trying to call Application::run_app twice!\n"); return 125; } called = true; if(!starter_) { - cerr<<"Trying to run with no RegisteredApplication class!\n"; + IO::cerr.write("Trying to run with no RegisteredApplication class!\n"); return 126; } @@ -54,8 +54,7 @@ int Application::run(int argc, char **argv, void *data) } catch(const usage_error &e) { - cerr<