diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-12-24 10:28:30 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-12-24 10:28:30 +0000 |
commit | 668bc470341fa6a0ef6665d964fc2a963287e3c4 (patch) | |
tree | bbf2bf0dc92ee699535d9ccfe75370474f257886 /TAO/tao/TAO_Singleton.cpp | |
parent | 455485f1873187e81b02d045d8172f8e9286d269 (diff) | |
download | ATCD-668bc470341fa6a0ef6665d964fc2a963287e3c4.tar.gz |
Wed Dec 24 10:28:46 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/TAO_Singleton.cpp')
-rw-r--r-- | TAO/tao/TAO_Singleton.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/TAO_Singleton.cpp b/TAO/tao/TAO_Singleton.cpp index dc8493856a9..f18ae107786 100644 --- a/TAO/tao/TAO_Singleton.cpp +++ b/TAO/tao/TAO_Singleton.cpp @@ -26,6 +26,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template <class TYPE, class ACE_LOCK> void TAO_Singleton<TYPE, ACE_LOCK>::dump (void) { +#if defined (ACE_HAS_DUMP) ACE_TRACE ("TAO_Singleton<TYPE, ACE_LOCK>::dump"); #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) @@ -33,6 +34,7 @@ TAO_Singleton<TYPE, ACE_LOCK>::dump (void) TAO_Singleton<TYPE, ACE_LOCK>::instance_i ())); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); #endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ +#endif /* ACE_HAS_DUMP */ } template <class TYPE, class ACE_LOCK> TAO_Singleton<TYPE, ACE_LOCK> *& @@ -121,6 +123,7 @@ TAO_TSS_Singleton<TYPE, ACE_LOCK>::singleton_ = 0; template <class TYPE, class ACE_LOCK> void TAO_TSS_Singleton<TYPE, ACE_LOCK>::dump (void) { +#if defined (ACE_HAS_DUMP) ACE_TRACE ("TAO_TSS_Singleton<TYPE, ACE_LOCK>::dump"); #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) @@ -128,6 +131,7 @@ TAO_TSS_Singleton<TYPE, ACE_LOCK>::dump (void) TAO_TSS_Singleton<TYPE, ACE_LOCK>::instance_i ())); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); #endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ +#endif /* ACE_HAS_DUMP */ } template <class TYPE, class ACE_LOCK> TAO_TSS_Singleton<TYPE, ACE_LOCK> *& |