diff options
Diffstat (limited to 'TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl')
-rw-r--r-- | TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl b/TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl index 0d7335ae9a0..2661a54453c 100644 --- a/TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl +++ b/TAO/tao/CSD_ThreadPool/CSD_TP_Request.inl @@ -12,17 +12,7 @@ TAO::CSD::TP_Request::TP_Request(PortableServer::Servant servant, servant_ (servant), servant_state_(servant_state, false) { - // This try-catch block is not really necessary for current implementation - // since the _add_ref does not throw exception, but we have to add it to - // satisfy the non-exception builds. If _add_ref really throws an exception - // then this constructor needs deal with the exception. - try - { - this->servant_->_add_ref (); - } - catch (...) - { - } + this->servant_->_add_ref (); } |