Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_2804_Regression / Hello.cpp
blob82d4b4724dbe59c1e82e9bcfdc4d4b4ea33d67b5
1 #include "Hello.h"
3 Hello::Hello (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 CORBA::Any *
9 Hello::get_any (CORBA::Any const & the_any)
11 CORBA::Any * retval = 0;
13 ACE_NEW_THROW_EX (retval,
14 CORBA::Any (the_any),
15 CORBA::NO_MEMORY ());
17 return retval;
21 void
22 Hello::shutdown ()
24 this->orb_->shutdown (false);