summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_10.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_10.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
index 3a3986d067d..33b6c3a397c 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
@@ -117,9 +117,9 @@ int
TAO_GIOP_Message_Generator_Parser_10::write_reply_header (
TAO_OutputCDR &output,
TAO_Pluggable_Reply_Params &reply,
- CORBA::Environment &env
+ CORBA::Environment &ACE_TRY_ENV
)
- ACE_THROW_SPEC ((CORBA::SystemException))
+ ACE_THROW_SPEC ((CORBA::SystemException))
{
// Write the service context list.
#if (TAO_HAS_MINIMUM_CORBA == 1)
@@ -219,7 +219,6 @@ TAO_GIOP_Message_Generator_Parser_10::write_reply_header (
}
else
{
- CORBA::Environment &ACE_TRY_ENV = env;
// <target> can only have the values above
ACE_THROW_RETURN (CORBA::MARSHAL (),
0);
@@ -242,7 +241,7 @@ TAO_GIOP_Message_Generator_Parser_10::write_reply_header (
this->marshal_reply_status (output,
reply);
- ACE_UNUSED_ARG (env);
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
return 1;
}