diff options
author | mhengstmengel <mhengstmengel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-10-23 08:44:20 +0000 |
---|---|---|
committer | mhengstmengel <mhengstmengel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-10-23 08:44:20 +0000 |
commit | 121ae1d4eeb87d6b6920ec7ff7f8eef87b8fda6a (patch) | |
tree | b0701a19774a14a79d8a1f07ad24584752a70179 /ACE/examples/APG/Logging/Use_LogManager.cpp | |
parent | 6206a1506defd347551f3b33bbbb2265de05e6ce (diff) | |
download | ATCD-121ae1d4eeb87d6b6920ec7ff7f8eef87b8fda6a.tar.gz |
Changes for ANDROID port
Diffstat (limited to 'ACE/examples/APG/Logging/Use_LogManager.cpp')
-rw-r--r-- | ACE/examples/APG/Logging/Use_LogManager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ACE/examples/APG/Logging/Use_LogManager.cpp b/ACE/examples/APG/Logging/Use_LogManager.cpp index 76de7b7fb56..34e1d5b8866 100644 --- a/ACE/examples/APG/Logging/Use_LogManager.cpp +++ b/ACE/examples/APG/Logging/Use_LogManager.cpp @@ -26,8 +26,6 @@ void foo (void) // Listing 1 // Listing 2 code/ch03 -#if defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) -template ACE_Singleton<LogManager, ACE_Null_Mutex> * - ACE_Singleton<LogManager, ACE_Null_Mutex>::singleton_; -#endif /* ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION */ +ACE_SINGLETON_TEMPLATE_INSTANTIATE(ACE_Singleton, LogManager, ACE_Null_Mutex); + // Listing 2 |