summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp')
-rw-r--r--TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp
index 97c824e7306..672e06cb7f9 100644
--- a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp
+++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_i.cpp
@@ -18,12 +18,12 @@ protected:
ref_count_(0) {}
public:
- virtual void _add_ref (CORBA_Environment & /*ACE_TRY_ENV*/ )
+ virtual void _add_ref (TAO_ENV_SINGLE_ARG_DECL)
{
++this->ref_count_;
}
- virtual void _remove_ref (CORBA_Environment & /*ACE_TRY_ENV*/)
+ virtual void _remove_ref (TAO_ENV_SINGLE_ARG_DECL)
{
CORBA::ULong new_count = --this->ref_count_;
@@ -95,7 +95,7 @@ Quoter_Stock_i::set_price (CORBA::Double new_price)
}
void
-Quoter_Stock_i::disconnect_push_supplier (CORBA::Environment&)
+Quoter_Stock_i::disconnect_push_supplier (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
throw (CORBA::SystemException)
{
// Forget about the consumer it is not there anymore