Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_1020_Regression / ORB_Task.cpp
blob930327a63a8e9273d7ad25e893fe45cd1d17bec2
1 /**
2 * @file ORB_Task.cpp
4 * @author Carlos O'Ryan <coryan@atdesk.com>
5 */
6 #include "ORB_Task.h"
7 #include "tao/Environment.h"
10 ORB_Task::ORB_Task(CORBA::ORB_ptr orb)
11 : orb_(CORBA::ORB::_duplicate(orb))
15 int
16 ORB_Task::svc ()
18 try
20 this->orb_->run();
22 catch (const CORBA::Exception& )
25 return 0;