X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDebug.h;h=33d22690df1dd49e20cd718c074d08053b6e66e5;hb=359ebc818c100156bd8f7a3a8783f2c538474990;hp=8fb72a087c02f03c2b32689dd4a960f2b09681ae;hpb=46afb30d2d016a9b1581c7ee4ca96d614a35203c;p=gdcm.git diff --git a/src/gdcmDebug.h b/src/gdcmDebug.h index 8fb72a08..33d22690 100644 --- a/src/gdcmDebug.h +++ b/src/gdcmDebug.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDebug.h,v $ Language: C++ - Date: $Date: 2005/11/28 15:20:32 $ - Version: $Revision: 1.48 $ + Date: $Date: 2005/11/28 16:50:32 $ + Version: $Revision: 1.51 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -88,7 +88,7 @@ public: static std::ostream &GetOutput (); - static void SendToOutput(unsigned int type,std::string const &msg,const CommandManager *mgr = NULL); + static void SendToOutput(unsigned int type,std::string const &msg,const Base *object = NULL); private: static bool DebugFlag; @@ -162,7 +162,7 @@ private: } \ } #define gdcmDebugMacro(msg) \ - gdcmDebugBodyMacro(this,msg) + gdcmDebugBodyMacro(NULL,msg) #define gdcmStaticDebugMacro(msg) \ gdcmDebugBodyMacro(NULL,msg) #endif //NDEBUG @@ -215,7 +215,7 @@ private: } \ } #define gdcmAssertMacro(msg) \ - gdcmAssertBodyMacro(this,msg) + gdcmAssertBodyMacro(NULL,msg) #define gdcmStaticAssertMacro(msg) \ gdcmAssertBodyMacro(NULL,msg)