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 | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp index f999b2f22bb..733cbfe45b3 100644 --- a/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp +++ b/TAO/tests/Portable_Interceptors/IORInterceptor/FOO_Client_ORBInitializer.cpp @@ -12,20 +12,18 @@ 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 = - info->codec_factory (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + info->codec_factory (); // Set up a structure that contains information necessary to // create a GIOP 1.2 CDR encapsulation Codec. @@ -36,9 +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); - ACE_CHECK; + codec_factory->create_codec (encoding); PortableInterceptor::ClientRequestInterceptor_ptr foo; ACE_NEW_THROW_EX (foo, @@ -48,12 +44,9 @@ FOO_Client_ORBInitializer::post_init ( TAO::VMCID, ENOMEM), CORBA::COMPLETED_NO)); - ACE_CHECK; PortableInterceptor::ClientRequestInterceptor_var interceptor = foo; - info->add_client_request_interceptor (interceptor.in () - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + info->add_client_request_interceptor (interceptor.in ()); } |