summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/MProfile.i')
-rw-r--r--TAO/tao/MProfile.i28
1 files changed, 0 insertions, 28 deletions
diff --git a/TAO/tao/MProfile.i b/TAO/tao/MProfile.i
index bb1ef0dc451..3f7063d4c88 100644
--- a/TAO/tao/MProfile.i
+++ b/TAO/tao/MProfile.i
@@ -39,34 +39,6 @@ TAO_MProfile::operator= (const TAO_MProfile& rhs)
return *this;
}
-ACE_INLINE
-TAO_MProfile::~TAO_MProfile (void)
-{
- if (this->policy_list_ != 0)
- {
- ACE_DECLARE_NEW_CORBA_ENV;
- const CORBA::ULong len = this->policy_list_->length ();
- for (CORBA::ULong i = 0; i < len; ++i)
- {
- ACE_TRY
- {
- (*this->policy_list_)[i]->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
- }
- ACE_CATCHANY
- {
- // Ignore all exceptions to allow other policies to be
- // destroyed.
- }
- ACE_ENDTRY;
- }
-
- delete this->policy_list_;
- }
-
- this->cleanup ();
-}
-
// Cyclic get next. It will simply cycle through the complete list.
ACE_INLINE TAO_Profile *