diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:46:21 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:46:21 +0000 |
commit | b5adfd4ffd24551632be96077fe9f519e10bfff7 (patch) | |
tree | c0b39d4473db1aaf1cd357b18174bc08d5cc5a2a /ace/Dump.h | |
parent | 5f1275d9dae3b389ae185f5f80eacf50578a3bb7 (diff) | |
download | ATCD-b5adfd4ffd24551632be96077fe9f519e10bfff7.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Dump.h')
-rw-r--r-- | ace/Dump.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ace/Dump.h b/ace/Dump.h index 51e8e0d5a9b..fb03a6adffb 100644 --- a/ace/Dump.h +++ b/ace/Dump.h @@ -143,24 +143,13 @@ private: int current_size_; // Current size of <object_table_>. -#if defined (ACE_MT_SAFE) +#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) static ACE_Thread_Mutex ace_dump_lock_; // Double-Check lock. #endif /* ACE_MT_SAFE */ }; +// Include the templates classes at this point. #include "ace/Dump_T.h" -// Some useful macros for conditionally compiling this feature... -#if defined (ACE_NDEBUG) -#define ACE_REGISTER_OBJECT(CLASS) -#define ACE_REMOVE_OBJECT -#else -#define ACE_REGISTER_OBJECT(CLASS) \ - ACE_ODB::instance ()->register_object \ - (new ACE_Dumpable_Adapter<CLASS> (this)); -#define ACE_REMOVE_OBJECT \ - ACE_ODB::instance ()->remove_object \ - ((void *) this); -#endif /* ACE_NDEBUG */ #endif /* ACE_DUMP_H */ |