summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Root_POA.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-04-24 18:49:54 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-04-24 18:49:54 +0000
commitdc41c60bb4d992e8ab727597ebecfdc33d460829 (patch)
tree87acb0a7348c43e376ad971b554cdcb50236b716 /TAO/tao/PortableServer/Root_POA.cpp
parent47aac62c66758703b75dcf594720d4714de28aa8 (diff)
downloadATCD-dc41c60bb4d992e8ab727597ebecfdc33d460829.tar.gz
Thu Apr 24 18:33:32 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PortableServer/Root_POA.cpp')
-rw-r--r--TAO/tao/PortableServer/Root_POA.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/PortableServer/Root_POA.cpp b/TAO/tao/PortableServer/Root_POA.cpp
index caee0da2765..c8d4d6e23fd 100644
--- a/TAO/tao/PortableServer/Root_POA.cpp
+++ b/TAO/tao/PortableServer/Root_POA.cpp
@@ -212,7 +212,7 @@ TAO_Root_POA::TAO_Root_POA (const TAO_Root_POA::String &name,
lock_ (lock),
orb_core_ (orb_core),
object_adapter_ (object_adapter),
- cleanup_in_progress_ (0),
+ cleanup_in_progress_ (false),
outstanding_requests_ (0),
outstanding_requests_condition_ (thread_lock),
wait_for_completion_pending_ (0),
@@ -815,7 +815,7 @@ TAO_Root_POA::destroy_i (CORBA::Boolean etherealize_objects,
TAO_Root_POA::check_for_valid_wait_for_completions (this->orb_core (),
wait_for_completion);
- this->cleanup_in_progress_ = 1;
+ this->cleanup_in_progress_ = true;
// Inform the custom servant dispatching strategy to stop the working
// threads when the poa is destroyed.
@@ -1022,7 +1022,6 @@ TAO_Root_POA::adapter_name_i (void)
while (!CORBA::is_nil (poa.in ()))
{
poa = poa->the_parent ();
-
++len;
}