summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r--TAO/tao/Stub.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp
index 929460f41d2..51be1a02a82 100644
--- a/TAO/tao/Stub.cpp
+++ b/TAO/tao/Stub.cpp
@@ -962,5 +962,18 @@ TAO_Stub::validate_connection (
return 0;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class auto_ptr<TAO_Policy_Manager_Impl>;
+template class ACE_Auto_Basic_Ptr<TAO_Policy_Manager_Impl>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate auto_ptr<TAO_Policy_Manager_Impl>
+#pragma instantiate ACE_Auto_Basic_Ptr<TAO_Policy_Manager_Impl>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* TAO_HAS_CORBA_MESSAGING */
+