From f2cafededd8d57237263fc7cb7d726ad1eacecd2 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 4 Apr 2015 09:39:35 -0700 Subject: 1017 --- cpp/002trace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/002trace') diff --git a/cpp/002trace b/cpp/002trace index cd3498b4..4946517c 100644 --- a/cpp/002trace +++ b/cpp/002trace @@ -160,7 +160,7 @@ trace_stream* Trace_stream = NULL; #define trace(layer) !Trace_stream ? cerr /*print nothing*/ : Trace_stream->stream(layer) // Warnings should go straight to cerr by default since calls to trace() have // some unfriendly constraints (they delay printing, they can't nest) -#define raise ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) << __FILE__ << ":" << __LINE__ << " " +#define raise ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) // A separate helper for debugging. We should only trace domain-specific // facts. For everything else use log. -- cgit 1.4.1-2-gfad0