summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-12-21 16:22:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-12-21 16:22:51 +0000
commitf265415c3810c6a56cf773ccd043dc68fb582c8f (patch)
treeeee19170e5f58bf65dc202ab435053999c20db70 /TAO/tao/Object.cpp
parent0ab0da2bb30decf8585be6ad3855b213051f1d3c (diff)
downloadATCD-f265415c3810c6a56cf773ccd043dc68fb582c8f.tar.gz
ChangeLogTag: Wed Dec 21 16:19:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r--TAO/tao/Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index adb2c4f5c28..1f38e421ed8 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -846,7 +846,7 @@ CORBA::Object::tao_object_initialize (CORBA::Object *obj)
CORBA::Boolean
operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
{
- int lazy_strategy = 0;
+ bool lazy_strategy = false;
TAO_ORB_Core *orb_core = cdr.orb_core ();
if (orb_core == 0)
@@ -863,7 +863,7 @@ operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
{
if (orb_core->resource_factory ()->resource_usage_strategy () ==
TAO_Resource_Factory::TAO_LAZY)
- lazy_strategy = 1;
+ lazy_strategy = true;
}
if (!lazy_strategy)