summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-04-16 18:59:10 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-04-16 18:59:10 +0000
commitdb554e52be3126f968dfd6b0c3208bfa3728caab (patch)
treeec43af60fb3af2a45fcb126ed14e8367f7a0a052 /TAO/tao/Stub.cpp
parente1debfe69639389a34320267ffff3a62cb41c78b (diff)
downloadATCD-db554e52be3126f968dfd6b0c3208bfa3728caab.tar.gz
ChangeLogTag:Tue Apr 16 11:49:00 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r--TAO/tao/Stub.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp
index cdf2e8e78d3..708e1f75816 100644
--- a/TAO/tao/Stub.cpp
+++ b/TAO/tao/Stub.cpp
@@ -767,7 +767,11 @@ TAO_Stub::buffering_constraint (void)
#if (TAO_HAS_CORBA_MESSAGING == 1)
template class auto_ptr<TAO_Policy_Set>;
+# if defined (ACE_LACKS_AUTO_PTR) \
+ || !(defined (ACE_HAS_STANDARD_CPP_LIBRARY) \
+ && (ACE_HAS_STANDARD_CPP_LIBRARY != 0))
template class ACE_Auto_Basic_Ptr<TAO_Policy_Set>;
+# endif /* ACE_LACKS_AUTO_PTR */
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
@@ -776,7 +780,11 @@ template class ACE_Auto_Basic_Ptr<TAO_Policy_Set>;
#if (TAO_HAS_CORBA_MESSAGING == 1)
#pragma instantiate auto_ptr<TAO_Policy_Set>
-#pragma instantiate ACE_Auto_Basic_Ptr<TAO_Policy_Set>
+# if defined (ACE_LACKS_AUTO_PTR) \
+ || !(defined (ACE_HAS_STANDARD_CPP_LIBRARY) \
+ && (ACE_HAS_STANDARD_CPP_LIBRARY != 0))
+# pragma instantiate ACE_Auto_Basic_Ptr<TAO_Policy_Set>
+# endif /* ACE_LACKS_AUTO_PTR */
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */