summaryrefslogtreecommitdiff
path: root/Kokyu/Default_Dispatcher_Impl.cpp
diff options
context:
space:
mode:
authorvenkita <venkita@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-22 17:46:39 +0000
committervenkita <venkita@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-22 17:46:39 +0000
commitd6dfbfb075c17af39a7aa9b1fafbcca3ddfe7478 (patch)
tree908d2c80dfa7ac7c06f02793d58ac7adb0f16e42 /Kokyu/Default_Dispatcher_Impl.cpp
parent38b1f6b03726fbd00e5341a11b89dc9cf7addb19 (diff)
downloadATCD-d6dfbfb075c17af39a7aa9b1fafbcca3ddfe7478.tar.gz
*** empty log message ***
Diffstat (limited to 'Kokyu/Default_Dispatcher_Impl.cpp')
-rw-r--r--Kokyu/Default_Dispatcher_Impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Kokyu/Default_Dispatcher_Impl.cpp b/Kokyu/Default_Dispatcher_Impl.cpp
index b24fc62fa33..228ac17872f 100644
--- a/Kokyu/Default_Dispatcher_Impl.cpp
+++ b/Kokyu/Default_Dispatcher_Impl.cpp
@@ -25,11 +25,11 @@ Default_Dispatcher_Impl::init_i (const ConfigInfoSet& config_info_set)
this->ntasks_ = size;
- Dispatcher_Task_Auto_Ptr * tmp=0;
- ACE_NEW_RETURN (tmp, Dispatcher_Task_Auto_Ptr[ntasks_], -1);
+ Dispatcher_Task_Auto_Ptr * tasks_array=0;
+ ACE_NEW_RETURN (tasks_array, Dispatcher_Task_Auto_Ptr[ntasks_], -1);
ACE_DEBUG ((LM_DEBUG, "after new on task array\n" ));
- tasks_.reset(tmp);
+ tasks_.reset(tasks_array);
ACE_DEBUG ((LM_DEBUG, "task array auto_ptr set\n" ));
@@ -41,9 +41,9 @@ Default_Dispatcher_Impl::init_i (const ConfigInfoSet& config_info_set)
for (;i<size && iter.next (config);iter.advance ())
{
ACE_DEBUG ((LM_DEBUG, "iter = %d\n", i));
- Dispatcher_Task* tmp2=0;
- ACE_NEW_RETURN (tmp2, Dispatcher_Task (*config), -1);
- tasks_[i++].reset (tmp2);
+ Dispatcher_Task* task=0;
+ ACE_NEW_RETURN (task, Dispatcher_Task (*config), -1);
+ tasks_[i++].reset (task);
}
this->activate ();