summaryrefslogtreecommitdiff
path: root/TAO/tao/Collocated_Invocation.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-03-04 17:44:53 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-03-04 17:44:53 +0000
commite6e66f08e694bbf4ce30f9b55b831e0031fbd6a0 (patch)
tree6ddfe5732f0f39eeb0e132c2072aa07c96e5247b /TAO/tao/Collocated_Invocation.cpp
parentfc1a0005cab844059b94ec4feda206ba696b4aaa (diff)
downloadATCD-e6e66f08e694bbf4ce30f9b55b831e0031fbd6a0.tar.gz
ChangeLogTag:Fri Mar 04 09:26:46 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Collocated_Invocation.cpp')
-rw-r--r--TAO/tao/Collocated_Invocation.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tao/Collocated_Invocation.cpp b/TAO/tao/Collocated_Invocation.cpp
index 52ef23d2b0b..a899b5d0280 100644
--- a/TAO/tao/Collocated_Invocation.cpp
+++ b/TAO/tao/Collocated_Invocation.cpp
@@ -49,8 +49,8 @@ namespace TAO
{
if (strat == TAO_CS_THRU_POA_STRATEGY)
{
- // Perform invocations on the servant through the servant's ORB.
- CORBA::ORB_var servant_orb = this->stub ()->servant_orb_ptr ();
+ // Perform invocations on the servant through the servant's ORB.
+ CORBA::ORB_var servant_orb = this->stub ()->servant_orb_ptr ();
TAO_ORB_Core * const orb_core = servant_orb->orb_core ();
TAO_ServerRequest request (orb_core,
@@ -60,12 +60,12 @@ namespace TAO
TAO_Request_Dispatcher * const dispatcher =
orb_core->request_dispatcher ();
- // Retain ownership of the servant's ORB_Core in case
- // another thread attempts to destroy it (e.g. via
- // CORBA::ORB::destroy()) before this thread complete the
- // invocation.
- orb_core->_incr_refcnt ();
- TAO_ORB_Core_Auto_Ptr my_orb_core (orb_core);
+ // Retain ownership of the servant's ORB_Core in case
+ // another thread attempts to destroy it (e.g. via
+ // CORBA::ORB::destroy()) before this thread complete the
+ // invocation.
+ orb_core->_incr_refcnt ();
+ TAO_ORB_Core_Auto_Ptr my_orb_core (orb_core);
dispatcher->dispatch (orb_core,
request,