Use a variable on the stack to not have a temporary in the call
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / Thread_Pool / Worker_Thread.cpp
blob1aa09af027f7437b3f105258544c0a421e9542cc
1 #include "Worker_Thread.h"
3 Worker_Thread::Worker_Thread (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 int
9 Worker_Thread::svc ()
11 try
13 this->orb_->run ();
15 catch (const CORBA::Exception&){}
16 return 0;