diff options
Diffstat (limited to 'TAO/tao/ObjectKey_Table.cpp')
-rw-r--r-- | TAO/tao/ObjectKey_Table.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tao/ObjectKey_Table.cpp b/TAO/tao/ObjectKey_Table.cpp index 6c049a8397e..c0b0c5a66d0 100644 --- a/TAO/tao/ObjectKey_Table.cpp +++ b/TAO/tao/ObjectKey_Table.cpp @@ -165,3 +165,21 @@ TAO::ObjectKey_Table::unbind_i (TAO::Refcounted_ObjectKey *&key_new) return 0; } + + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + // Instantiations for the Hash Map +template class ACE_Less_Than<long>; +template class ACE_RB_Tree <long, + TAO::Refcounted_ObjectKey, + ACE_Less_Than<long>, + ACE_Null_Mutex>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Less_Than<long>; +#pragma instantiate ACE_RB_Tree <long, + TAO::Refcounted_ObjectKey, + ACE_Less_Than<long>, + ACE_Null_Mutex>; + +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |