diff options
Diffstat (limited to 'TAO/tao/BoundsA.cpp')
-rw-r--r-- | TAO/tao/BoundsA.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/BoundsA.cpp b/TAO/tao/BoundsA.cpp index 588a1817f2a..d518997171e 100644 --- a/TAO/tao/BoundsA.cpp +++ b/TAO/tao/BoundsA.cpp @@ -42,9 +42,9 @@ TAO::Any_Dual_Impl_T<CORBA::Bounds>::demarshal_value ( { CORBA::String_var id; - if ((cdr >> id.out ()) == 0) + if (!(cdr >> id.out ())) { - return 0; + return false; } ACE_TRY_NEW_ENV @@ -54,11 +54,11 @@ TAO::Any_Dual_Impl_T<CORBA::Bounds>::demarshal_value ( } ACE_CATCHANY { - return 0; + return false; } ACE_ENDTRY; - return 1; + return true; } // Copying insertion. |