diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 02:18:44 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 02:18:44 +0000 |
commit | 48c506c111810f69cb836ba2f3a5fee73d394261 (patch) | |
tree | 9cd1e1490feaddd722bef7d0c02ac9ceadb6645b /TAO | |
parent | b6dd8ea1d9e900dc3107ca734ce927ab69ae3944 (diff) | |
download | ATCD-48c506c111810f69cb836ba2f3a5fee73d394261.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/examples/Simple/bank/Server_i.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/TAO/examples/Simple/bank/Server_i.cpp b/TAO/examples/Simple/bank/Server_i.cpp index 6b41ee296b7..6c8e1a268ec 100644 --- a/TAO/examples/Simple/bank/Server_i.cpp +++ b/TAO/examples/Simple/bank/Server_i.cpp @@ -65,25 +65,21 @@ Server_i::parse_args (void) int Server_i::init_naming_service (CORBA::Environment& env) { - - CORBA::ORB_var orb; - PortableServer::POA_ptr child_poa; - - orb = this->orb_manager_.orb (); + CORBA::ORB_var orb = this->orb_manager_.orb (); this->orb_manager_.init_child_poa (this->argc_, this->argv_, "my_child_poa", env); - - child_poa = this->orb_manager_.child_poa (); + PortableServer::POA_ptr child_poa + = this->orb_manager_.child_poa (); int result = this->my_name_server_.init (orb.in (), child_poa); if (result == -1) { - ACE_DEBUG((LM_DEBUG, - "Result=%d", - result)); + ACE_DEBUG ((LM_DEBUG, + "Result=%d", + result)); return result; } |