summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp')
-rw-r--r--TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp b/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp
index 871d79432df..65826c42908 100644
--- a/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp
+++ b/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp
@@ -8,8 +8,8 @@ Smart_Test_Factory::Smart_Test_Factory (void)
}
Test_ptr
-Smart_Test_Factory::create_proxy (Test_ptr proxy,
- CORBA::Environment &)
+Smart_Test_Factory::create_proxy (Test_ptr proxy
+ TAO_ENV_ARG_DECL_NOT_USED)
{
ACE_DEBUG ((LM_DEBUG,
"create_smart_proxy\n"));
@@ -18,7 +18,7 @@ Smart_Test_Factory::create_proxy (Test_ptr proxy,
ACE_NEW_RETURN (proxy, Smart_Test_Proxy (proxy), 0);
return proxy;
-
+
}
Smart_Test_Proxy::Smart_Test_Proxy (Test_ptr proxy)
@@ -27,13 +27,13 @@ Smart_Test_Proxy::Smart_Test_Proxy (Test_ptr proxy)
{
}
-CORBA::Short
-Smart_Test_Proxy::box_prices (CORBA::Environment &ACE_TRY_ENV)
+CORBA::Short
+Smart_Test_Proxy::box_prices (TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
if (this->price_ == 0)
{
- this->price_ = TAO_Test_Smart_Proxy_Base::box_prices (ACE_TRY_ENV);
+ this->price_ = TAO_Test_Smart_Proxy_Base::box_prices (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
}
return this->price_;