summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-10 03:28:26 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-10 03:28:26 +0000
commitdebda869cffffdefac5092cde0092c00af6ed410 (patch)
tree061d0ad8b1d283c020ec95145c3d34325b0aac3e
parentabc81e436df0454fc943b9e436b6cd64d0127b61 (diff)
downloadATCD-debda869cffffdefac5092cde0092c00af6ed410.tar.gz
added ACE_Auto_Basic_Ptr <Hello> template instantiation
-rw-r--r--tests/DLL_Test.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/DLL_Test.cpp b/tests/DLL_Test.cpp
index 9981a2d09e4..bee3f69d8b5 100644
--- a/tests/DLL_Test.cpp
+++ b/tests/DLL_Test.cpp
@@ -31,7 +31,7 @@
# define ACE_OBJ_SUFFIX ".o"
#endif
-class Hello
+class Hello
{
// = TITLE
// The Hello class in the dynamically linkable library.
@@ -77,9 +77,9 @@ Hello *get_hello (void)
typedef Hello *(*TC) (void);
-int
+int
main (int argc, char *argv[])
-{
+{
ACE_UNUSED_ARG (argc);
ACE_UNUSED_ARG (argv);
@@ -119,6 +119,8 @@ main (int argc, char *argv[])
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class auto_ptr <Hello>;
+template class ACE_Auto_Basic_Ptr <Hello>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate auto_ptr <Hello>
+#pragma instantiate ACE_Auto_Basic_Ptr <Hello>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */