From: Mikko Rasa Date: Mon, 27 Nov 2006 14:12:23 +0000 (+0000) Subject: Use Time::sleep instead of sleep in Application::main X-Git-Tag: 1.0~29 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=7ff2cc6e945c770c64d39089a2c27b33305495dd;p=libs%2Fcore.git Use Time::sleep instead of sleep in Application::main Prefix usage reason with "UsageError: " --- diff --git a/source/core/application.cpp b/source/core/application.cpp index 7e92dbd..1012ea2 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -6,6 +6,7 @@ Distributed under the LGPL #include #include #include "../time/units.h" +#include "../time/utils.h" #include "application.h" #include "error.h" @@ -62,7 +63,7 @@ will blame the programmer for being lazy. void Application::usage(const char *reason, const char *, bool) { if(reason) - cerr<