squelch silly warning about clock time

This commit is contained in:
David Rose 2009-03-15 13:03:40 +00:00
parent d78fdb169f
commit 2d0ade8276

View File

@ -159,8 +159,11 @@ set_mode(ClockObject::Mode mode) {
void ClockObject::
set_real_time(double time) {
#ifdef NOTIFY_DEBUG
if (this == _global_clock) {
util_cat.warning()
// This is only a debug message, since it happens during normal
// development, particularly at startup, or whenever you break into
// the task loop.
if (util_cat.is_debug() && this == _global_clock) {
util_cat.debug()
<< "Adjusting global clock's real time by " << time - get_real_time()
<< " seconds.\n";
}