From 086ea40d9993f2ac86941a0462dabbd7f18d58f3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 19 Apr 2007 00:00:49 +0000 Subject: We now compile with boost_date_time (although parts of the code have been stubbed out as a result). --- trace.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'trace.cc') diff --git a/trace.cc b/trace.cc index 45f33c77..1d124657 100644 --- a/trace.cc +++ b/trace.cc @@ -1,4 +1,5 @@ #include "trace.h" +#include "times.h" #include "acconf.h" namespace ledger { @@ -8,8 +9,8 @@ bool trace_mode; void trace(const std::string& cat, const std::string& str) { char buf[32]; - std::cerr << now.to_short_string() << " " << cat << ": " << str - << std::endl; + std::cerr << boost::posix_time::to_simple_string(now) << " " + << cat << ": " << str << std::endl; } void trace_push(const std::string& cat, const std::string& str, -- cgit v1.2.3