summaryrefslogtreecommitdiff
path: root/TAO/tao/BoundsC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/BoundsC.cpp')
-rw-r--r--TAO/tao/BoundsC.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/BoundsC.cpp b/TAO/tao/BoundsC.cpp
index 80f7b830f0d..b4f95769ba0 100644
--- a/TAO/tao/BoundsC.cpp
+++ b/TAO/tao/BoundsC.cpp
@@ -63,16 +63,16 @@ void CORBA_Bounds::_raise ()
TAO_RAISE(*this);
}
-void CORBA_Bounds::_tao_encode (TAO_OutputCDR &cdr,
- CORBA::Environment &ACE_TRY_ENV) const
+void CORBA_Bounds::_tao_encode (TAO_OutputCDR &cdr
+ TAO_ENV_ARG_DECL) const
{
if (cdr << *this)
return;
ACE_THROW (CORBA::MARSHAL ());
}
-void CORBA_Bounds::_tao_decode (TAO_InputCDR &cdr,
- CORBA::Environment &ACE_TRY_ENV)
+void CORBA_Bounds::_tao_decode (TAO_InputCDR &cdr
+ TAO_ENV_ARG_DECL)
{
if (cdr >> *this)
return;
@@ -123,7 +123,7 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::Bounds *&_tao_ele
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
- if (!type->equal (CORBA::_tc_Bounds, ACE_TRY_ENV)) return 0; // not equal
+ if (!type->equal (CORBA::_tc_Bounds TAO_ENV_ARG_PARAMETER)) return 0; // not equal
ACE_TRY_CHECK;
if (_tao_any.any_owns_data ())
{