diff --git a/src/StreamError.h b/src/StreamError.h index 361c295..be9a335 100644 --- a/src/StreamError.h +++ b/src/StreamError.h @@ -62,13 +62,9 @@ public: __attribute__((__format__(__printf__,2,3))); }; -inline StreamDebugClass -StreamDebugObject(const char* file, int line) -{ return StreamDebugClass(file, line); } - #define error StreamError -#define debug (!streamDebug)?0:StreamDebugObject(__FILE__,__LINE__).print -#define debug2 (streamDebug<2)?0:StreamDebugObject(__FILE__,__LINE__).print +#define debug (!streamDebug)?0:StreamDebugClass(__FILE__,__LINE__).print +#define debug2 (streamDebug<2)?0:StreamDebugClass(__FILE__,__LINE__).print /* * ANSI escape sequences for terminal output