From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/stable/trace.cpp | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/stable/trace.cpp') diff --git a/src/stable/trace.cpp b/src/stable/trace.cpp index c072fd9..2b3b863 100644 --- a/src/stable/trace.cpp +++ b/src/stable/trace.cpp @@ -9,59 +9,59 @@ void Bu::__tracer( const char *pf ) { - printf("trace: %s\n", pf ); + printf("trace: %s\n", pf ); } template<> void Bu::__tracer_format( const float &v ) { - printf("%f", v ); + printf("%f", v ); } template<> void Bu::__tracer_format( const double &v ) { - printf("%f", v ); + printf("%f", v ); } template<> void Bu::__tracer_format( void * const &v ) { - printf("0x%08X", (ptrdiff_t)v ); + printf("0x%08X", (ptrdiff_t)v ); } template<> void Bu::__tracer_format( char * const &v ) { - printf("\"%s\"", v ); + printf("\"%s\"", v ); } template<> void Bu::__tracer_format( char ** const &v ) { - printf("["); - for( int j = 0; v[j]; j++ ) - { - if( j > 0 ) - printf(", "); - printf("\"%s\"", v[j] ); - } - printf("]"); + printf("["); + for( int j = 0; v[j]; j++ ) + { + if( j > 0 ) + printf(", "); + printf("\"%s\"", v[j] ); + } + printf("]"); } template<> void Bu::__tracer_format( void const * const &v ) { - printf("0x%08X", (ptrdiff_t)v ); + printf("0x%08X", (ptrdiff_t)v ); } template<> void Bu::__tracer_format( char const * const &v ) { - printf("\"%s\"", v ); + printf("\"%s\"", v ); } template<> void Bu::__tracer_format( char const ** const &v ) { - printf("["); - for( int j = 0; v[j]; j++ ) - { - if( j > 0 ) - printf(", "); - printf("\"%s\"", v[j] ); - } - printf("]"); + printf("["); + for( int j = 0; v[j]; j++ ) + { + if( j > 0 ) + printf(", "); + printf("\"%s\"", v[j] ); + } + printf("]"); } -- cgit v1.2.3