summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp b/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
index 731f0b30ea8..64c80dd0a86 100644
--- a/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
+++ b/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
@@ -11,8 +11,8 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb)
// ctor
void
-Visual_i::normal (CORBA::Long arg,
- CORBA::Environment&)
+Visual_i::normal (CORBA::Long arg
+ TAO_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg));
@@ -20,8 +20,8 @@ Visual_i::normal (CORBA::Long arg,
CORBA::Long
Visual_i::calculate (CORBA::Long one,
- CORBA::Long two,
- CORBA::Environment&)
+ CORBA::Long two
+ TAO_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::calculate\n"));
@@ -29,7 +29,7 @@ Visual_i::calculate (CORBA::Long one,
}
void
-Visual_i::user (CORBA::Environment &ACE_TRY_ENV)
+Visual_i::user (TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly))
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning Silly\n"));
@@ -37,7 +37,7 @@ Visual_i::user (CORBA::Environment &ACE_TRY_ENV)
}
void
-Visual_i::system (CORBA::Environment &ACE_TRY_ENV)
+Visual_i::system (TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
@@ -45,7 +45,7 @@ Visual_i::system (CORBA::Environment &ACE_TRY_ENV)
}
void
-Visual_i::shutdown (CORBA::Environment&)
+Visual_i::shutdown (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown ();