diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-21 22:53:38 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-21 22:53:38 +0000 |
commit | 6caae56c19d3220b238e4650204966052e6ce37c (patch) | |
tree | a650671523062fd505ff36b536ca7316b9a1c068 /TAO/tao/MProfile.i | |
parent | 4cb76cf51e8840aeb0862bb3bec2cf56f4e99e62 (diff) | |
download | ATCD-6caae56c19d3220b238e4650204966052e6ce37c.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/MProfile.i')
-rw-r--r-- | TAO/tao/MProfile.i | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/MProfile.i b/TAO/tao/MProfile.i index 12fa6050dd3..f4261233185 100644 --- a/TAO/tao/MProfile.i +++ b/TAO/tao/MProfile.i @@ -87,10 +87,10 @@ TAO_MProfile::get_prev (void) if (last_ == 0 || current_ <= 1) // No List of BeginningOfList return 0; - else if (current_ > 1) + if (current_ > 1) current_--; - else - return pfiles_[current_ - 1]; + + return pfiles_[current_ - 1]; } // does not affect the current_ setting! @@ -109,11 +109,11 @@ TAO_MProfile::get_current_profile (void) { if (last_ == 0) return 0; - else if (current_ == 0) + if (current_ == 0) // means list has not been read before. current_ = 1; - else - return pfiles_[current_ - 1]; + + return pfiles_[current_ - 1]; } ACE_INLINE TAO_PHandle |