diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-27 06:11:47 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-27 06:11:47 +0000 |
commit | abad421baa4d0f156a6fb0b249c51a6c4fd61828 (patch) | |
tree | 91114025115e1859750f5878d59c3cc211cb5957 | |
parent | de63b27cadcc9d16aeac69f196d96f95c3d19e36 (diff) | |
download | ATCD-abad421baa4d0f156a6fb0b249c51a6c4fd61828.tar.gz |
Sat Jan 27 06:05:12 UTC 2007 Johnny Willemsen <jwillmesen@remedy.nl>
-rw-r--r-- | TAO/tao/PortableServer/Servant_Upcall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/PortableServer/Servant_Upcall.cpp b/TAO/tao/PortableServer/Servant_Upcall.cpp index ac090ee3ce2..3e8bd473bd0 100644 --- a/TAO/tao/PortableServer/Servant_Upcall.cpp +++ b/TAO/tao/PortableServer/Servant_Upcall.cpp @@ -144,14 +144,14 @@ namespace TAO return TAO_Adapter::DS_FAILED; } #if (TAO_HAS_MINIMUM_CORBA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) - catch ( ::PortableServer::ForwardRequest& forward_request) + catch (const ::PortableServer::ForwardRequest& forward_request) { forward_to = CORBA::Object::_duplicate (forward_request.forward_reference.in ()); return TAO_Adapter::DS_FORWARD; } #else - catch ( ::CORBA::Exception& ex) + catch (const ::CORBA::Exception&) { ACE_UNUSED_ARG (forward_to); throw; @@ -436,7 +436,7 @@ namespace TAO { this->poa_->complete_destruction_i (); } - catch ( ::CORBA::Exception& ex) + catch (const ::CORBA::Exception& ex) { // Ignore exceptions ex._tao_print_exception ( |