diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp index b759201cbc9..733cbfe45b3 100644 --- a/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp +++ b/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp @@ -12,15 +12,14 @@ ACE_RCSID (IORInterceptor, void FOO_Client_ORBInitializer::pre_init ( PortableInterceptor::ORBInitInfo_ptr /* info */ - ACE_ENV_ARG_DECL_NOT_USED) + ) ACE_THROW_SPEC ((CORBA::SystemException)) { } void FOO_Client_ORBInitializer::post_init ( - PortableInterceptor::ORBInitInfo_ptr info - ACE_ENV_ARG_DECL) + PortableInterceptor::ORBInitInfo_ptr info) ACE_THROW_SPEC ((CORBA::SystemException)) { IOP::CodecFactory_var codec_factory = @@ -35,8 +34,7 @@ FOO_Client_ORBInitializer::post_init ( // Obtain the CDR encapsulation Codec. IOP::Codec_var codec = - codec_factory->create_codec (encoding - ACE_ENV_ARG_PARAMETER); + codec_factory->create_codec (encoding); PortableInterceptor::ClientRequestInterceptor_ptr foo; ACE_NEW_THROW_EX (foo, @@ -50,6 +48,5 @@ FOO_Client_ORBInitializer::post_init ( PortableInterceptor::ClientRequestInterceptor_var interceptor = foo; - info->add_client_request_interceptor (interceptor.in () - ACE_ENV_ARG_PARAMETER); + info->add_client_request_interceptor (interceptor.in ()); } |