summaryrefslogtreecommitdiff
path: root/src/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace.h')
-rw-r--r--src/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trace.h b/src/trace.h
index 91e2094..e115d66 100644
--- a/src/trace.h
+++ b/src/trace.h
@@ -34,7 +34,7 @@ namespace Bu
34 n++; \ 34 n++; \
35 break; \ 35 break; \
36 } \ 36 } \
37 } 37 } (void)0
38 38
39 template<typename t1> void __tracer( const char *pf, t1 &v1 ) 39 template<typename t1> void __tracer( const char *pf, t1 &v1 )
40 { 40 {
@@ -163,7 +163,7 @@ namespace Bu
163#ifdef BU_TRACE 163#ifdef BU_TRACE
164# define TRACE(args...) Bu::__tracer( __PRETTY_FUNCTION__, ##args ) 164# define TRACE(args...) Bu::__tracer( __PRETTY_FUNCTION__, ##args )
165#else 165#else
166# define TRACE(args...) {} 166# define TRACE(args...) (void)0
167#endif 167#endif
168 168
169#endif 169#endif