-rw-r--r-- | libopie2/opiecore/odebug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiecore/odebug.h b/libopie2/opiecore/odebug.h index a5c9ded..b040166 100644 --- a/libopie2/opiecore/odebug.h +++ b/libopie2/opiecore/odebug.h @@ -52,28 +52,28 @@ namespace Core { class odbgstream; class ondbgstream; #ifdef __GNUC__ #define o_funcinfo "[" << __PRETTY_FUNCTION__ << "] " #else #define o_funcinfo "[" << __FILE__ << ":" << __LINE__ << "] " #endif #define o_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " -#define owarn odWarning() -#define oerr odError() -#define odebug odDebug() -#define ofatal odFatal() +#define owarn Opie::Core::odWarning() +#define oerr Opie::Core::odError() +#define odebug Opie::Core::odDebug() +#define ofatal Opie::Core::odFatal() #define oendl "\n" class odbgstreamprivate; /** * odbgstream is a text stream that allows you to print debug messages. * Using the overloaded "<<" operator you can send messages. Usually * you do not create the odbgstream yourself, but use @ref odDebug() (odebug) * @ref odWarning() (owarn), @ref odError() (oerr) or @ref odFatal (ofatal) to obtain one. * * Example: * <pre> * int i = 5; |