diff options
Diffstat (limited to 'TAO/tao/Protocols_Hooks.cpp')
-rw-r--r-- | TAO/tao/Protocols_Hooks.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tao/Protocols_Hooks.cpp b/TAO/tao/Protocols_Hooks.cpp index 70dc0e8bc6a..6d51f1e301d 100644 --- a/TAO/tao/Protocols_Hooks.cpp +++ b/TAO/tao/Protocols_Hooks.cpp @@ -1,6 +1,7 @@ // $Id$ #include "Protocols_Hooks.h" +#include "ace/Dynamic_Service.h" ACE_RCSID(tao, Protocols_Hooks, "$Id$") @@ -9,3 +10,12 @@ TAO_Protocols_Hooks::~TAO_Protocols_Hooks (void) { } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +template class ACE_Dynamic_Service<TAO_Protocols_Hooks>; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Dynamic_Service<TAO_Protocols_Hooks> + +#endif |