summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp')
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp
index 828e841990f..80a7e0ecf3e 100644
--- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.cpp
@@ -8,13 +8,12 @@ Foo_C_cust_op4::Foo_C_cust_op4(Foo_C_i* servant, long arg)
arg_(arg),
servant_(servant)
{
- // This try-catch block is not really necessary, but we have to add it to
- // satisfy the non-exception builds. Since there is actually no exception
+ // This try-catch block is not really necessary, but we have to add it to
+ // satisfy the non-exception builds. Since there is actually no exception
// raised from _add_ref, we just ignore the exception here.
ACE_TRY_NEW_ENV
{
- servant_->_add_ref (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ servant_->_add_ref ();
}
ACE_CATCHALL
{
@@ -24,13 +23,12 @@ Foo_C_cust_op4::Foo_C_cust_op4(Foo_C_i* servant, long arg)
Foo_C_cust_op4::~Foo_C_cust_op4()
{
- // This try-catch block is not really necessary, but we have to add it to
- // satisfy the non-exception builds. Since there is actually no exception
+ // This try-catch block is not really necessary, but we have to add it to
+ // satisfy the non-exception builds. Since there is actually no exception
// raised from _add_ref, we just ignore the exception here.
ACE_TRY_NEW_ENV
{
- servant_->_remove_ref (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ servant_->_remove_ref ();
}
ACE_CATCHALL
{