Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Bug_3896_Regression / Hello.cpp
blob8a95efcae1531ea06ebb9b5476522edb414b879a
1 #include "Hello.h"
2 #include "ace/OS_NS_unistd.h"
4 Hello::Hello (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 char *
10 Hello::get_string ()
12 ACE_OS::sleep (10);
14 return CORBA::string_dup ("Hello there!");
17 void
18 Hello::shutdown ()
20 this->orb_->shutdown (false);