summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h')
-rw-r--r--TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h b/TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h
index 776b11b6b78..10edb88bf24 100644
--- a/TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h
+++ b/TAO/tests/Smart_Proxies/Policy/Smart_Proxy_Impl.h
@@ -7,22 +7,20 @@ class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory
public:
Smart_Test_Factory (int one_shot_factory = 1);
-
- virtual Test_ptr create_proxy (Test_ptr proxy,
- CORBA::Environment &env =
- TAO_default_environment ());
- // This method will create the smart_proxy.
+
+ virtual Test_ptr create_proxy (Test_ptr proxy
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+ // This method will create the smart_proxy.
};
-class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base
+class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base
{
public:
Smart_Test_Proxy (Test_ptr proxy);
- virtual CORBA::Short method (CORBA::Short boo,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException,
+ virtual CORBA::Short method (CORBA::Short boo
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException,
Test::Oops));
// "Smartify" the method call!