summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp
index 5cd4a2011e2..6546f4ef6f9 100644
--- a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp
+++ b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Server_ORBInitializer.cpp
@@ -26,8 +26,6 @@ Server_ORBInitializer::post_init (
TAO_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_ENV_ARG_DEFN;
-
PortableInterceptor::ServerRequestInterceptor_ptr interceptor =
PortableInterceptor::ServerRequestInterceptor::_nil ();
@@ -40,8 +38,8 @@ Server_ORBInitializer::post_init (
PortableInterceptor::ServerRequestInterceptor_var
server_interceptor = interceptor;
- info->add_server_request_interceptor (server_interceptor.in (),
- ACE_TRY_ENV);
+ info->add_server_request_interceptor (server_interceptor.in ()
+ TAO_ENV_ARG_PARAMETER);
ACE_CHECK;
}