summaryrefslogtreecommitdiff
path: root/TAO/examples/Quoter
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-14 15:14:17 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-14 15:14:17 +0000
commit2bccfe1c41bba47a9669cc479da3ab2b2d45761a (patch)
tree31dc91d1f3cc0a912f5de39b6a418867a49a2540 /TAO/examples/Quoter
parentb0d171a8ed91d277eda5813e0ff1e0bc11e8fb78 (diff)
downloadATCD-2bccfe1c41bba47a9669cc479da3ab2b2d45761a.tar.gz
ChangeLogTag:Wed Feb 14 07:13:12 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/examples/Quoter')
-rw-r--r--TAO/examples/Quoter/Quoter_i.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/TAO/examples/Quoter/Quoter_i.cpp b/TAO/examples/Quoter/Quoter_i.cpp
index 18d0d690154..7ee6209844f 100644
--- a/TAO/examples/Quoter/Quoter_i.cpp
+++ b/TAO/examples/Quoter/Quoter_i.cpp
@@ -268,8 +268,8 @@ CosLifeCycle::LifeCycleObject::_nil ();
// Move this object using <there> and <the_criteria>
void
-Quoter_i::move (CosLifeCycle::FactoryFinder_ptr there,
- const CosLifeCycle::Criteria &the_criteria,
+Quoter_i::move (CosLifeCycle::FactoryFinder_ptr /* there */,
+ const CosLifeCycle::Criteria & /* the_criteria */,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
CosLifeCycle::NoFactory,
@@ -277,14 +277,10 @@ Quoter_i::move (CosLifeCycle::FactoryFinder_ptr there,
CosLifeCycle::InvalidCriteria,
CosLifeCycle::CannotMeetCriteria))
{
- ACE_UNUSED_ARG (there);
- ACE_UNUSED_ARG (the_criteria);
-
- ACE_ERROR ((LM_ERROR,
- "Quoter_i::move: The Quoter object is not movable!"));
-
- ACE_THROW (new CosLifeCycle::NotMovable);
+ ACE_ERROR ((LM_ERROR,
+ "Quoter_i::move: The Quoter object is not movable!"));
+ ACE_THROW (CosLifeCycle::NotMovable());
}