summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-01 19:38:08 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-01 19:38:08 +0000
commita5a9c51b3cb651fe4bf8f6bab5f8d7b2b8098f61 (patch)
treed79dc6ecdff843ca93e8d807814b6d87e834d117
parent8774af4bf1e2c3e6ba06a55808490e74ff9fcb7f (diff)
downloadATCD-a5a9c51b3cb651fe4bf8f6bab5f8d7b2b8098f61.tar.gz
ChangeLogTag:Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r--ChangeLog-99b5
-rw-r--r--tests/Reactor_Notify_Test.cpp6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index 1f3093bfef2..e6eb53183b7 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,5 +1,10 @@
Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
+ * tests/Reactor_Notify_Test.cpp: Fixed an erroneous use of =
+ rather than != and added another pair of explicit template
+ instantiations for ACE_Auto_Basic_Ptr<>. Thanks to Carlos for
+ reporting this.
+
* ace/Process_Manager.cpp (handle_close): Removed a warning
about unused parameter. Thanks to David for reporting this.
diff --git a/tests/Reactor_Notify_Test.cpp b/tests/Reactor_Notify_Test.cpp
index 619d637521e..1193c7949fb 100644
--- a/tests/Reactor_Notify_Test.cpp
+++ b/tests/Reactor_Notify_Test.cpp
@@ -196,7 +196,7 @@ Supplier_Task::perform_notifications (int notifications)
ASYS_TEXT ("(%t) %p\n"),
ASYS_TEXT ("notify")));
else
- ACE_ASSERT (result = -1);
+ ACE_ASSERT (result != -1);
}
// Wait for our <handle_exception> method to release the
@@ -393,7 +393,11 @@ main (int, ASYS_TCHAR *[])
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class auto_ptr<ACE_Reactor>;
template class auto_ptr<ACE_Select_Reactor>;
+template class ACE_Auto_Basic_Ptr<ACE_Reactor>;
+template class ACE_Auto_Basic_Ptr<ACE_Select_Reactor>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate auto_ptr <ACE_Reactor>
#pragma instantiate auto_ptr <ACE_Select_Reactor>
+#pragma instantiate ACE_Auto_Basic_Ptr<ACE_Reactor>
+#pragma instantiate ACE_Auto_Basic_Ptr<ACE_Select_Reactor>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */