From 94bfd50d88b770fa372184db6c18bc00b36d8234 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 18 Jun 2011 21:34:15 +0300 Subject: [PATCH] Use IO::cout rather than std::cout --- source/core/application.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/source/core/application.cpp b/source/core/application.cpp index 6bfa628..51f013e 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -2,9 +2,9 @@ #include #endif #include -#include #include #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<