summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-26 15:48:58 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-26 15:48:58 +0000
commit5315e115701ea6f1f31437fb16b721d86401f4bf (patch)
tree660fd5e1fdd7e99c74acb47430fce5fb3589ba2a /TAO/tests/NestedUpcall
parent7330159ce7778041af05d476da4eb05bd6ef222b (diff)
downloadATCD-5315e115701ea6f1f31437fb16b721d86401f4bf.tar.gz
Moved template instantiations from .h file to .cpp file. Removed
unused instantiations.
Diffstat (limited to 'TAO/tests/NestedUpcall')
-rw-r--r--TAO/tests/NestedUpcall/client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tests/NestedUpcall/client.cpp b/TAO/tests/NestedUpcall/client.cpp
index 311cf514c88..e12541d9359 100644
--- a/TAO/tests/NestedUpcall/client.cpp
+++ b/TAO/tests/NestedUpcall/client.cpp
@@ -296,3 +296,11 @@ main (int argc, char **argv)
else
return nestedupcalls_client.run ();
}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class auto_ptr<EventHandler_i>;
+template class ACE_Auto_Basic_Ptr<EventHandler_i>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate auto_ptr<EventHandler_i>
+#pragma instantiate ACE_Auto_Basic_Ptr<EventHandler_i>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */