summaryrefslogtreecommitdiff
path: root/tests/Notify_Performance_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-18 05:33:26 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-18 05:33:26 +0000
commit9b455d7b081cc79e451d9ae027356b5f9d2a2314 (patch)
treeb42306b8e23526f9ce68c96f5ff0e765a3774039 /tests/Notify_Performance_Test.cpp
parentc8ddc3bda784670bc1c78f9451f3acecd29a86df (diff)
downloadATCD-9b455d7b081cc79e451d9ae027356b5f9d2a2314.tar.gz
Sun Apr 18 00:26:28 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'tests/Notify_Performance_Test.cpp')
-rw-r--r--tests/Notify_Performance_Test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Notify_Performance_Test.cpp b/tests/Notify_Performance_Test.cpp
index f96947337a9..6083846ee76 100644
--- a/tests/Notify_Performance_Test.cpp
+++ b/tests/Notify_Performance_Test.cpp
@@ -178,7 +178,10 @@ main (int argc, ASYS_TCHAR *argv[])
// If we are using other that the default implementation, we must
// clean up.
if (opt_select_reactor || opt_wfmo_reactor)
- impl = auto_ptr <ACE_Reactor_Impl> (ACE_Reactor::instance ()->implementation ());
+ {
+ auto_ptr<ACE_Reactor_Impl> auto_impl (ACE_Reactor::instance ()->implementation ());
+ impl = auto_impl;
+ }
// Callback object
Handler handler;