summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.i
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-29 03:18:01 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-29 03:18:01 +0000
commit934ff725e4420340b3ffd071132c1c34031523b4 (patch)
tree57ebea34d9a91d06901b6c7a6c3ecd783e2e82dd /TAO/tao/MProfile.i
parentf9258ee4edf7441572e8e556bccb374ef34fad43 (diff)
downloadATCD-934ff725e4420340b3ffd071132c1c34031523b4.tar.gz
ChangeLogTag: Fri Apr 28 21:22:44 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/MProfile.i')
-rw-r--r--TAO/tao/MProfile.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/MProfile.i b/TAO/tao/MProfile.i
index 54c46dc744d..e87a921640f 100644
--- a/TAO/tao/MProfile.i
+++ b/TAO/tao/MProfile.i
@@ -125,6 +125,15 @@ TAO_MProfile::get_current_handle (void)
return 0;
}
+ACE_INLINE TAO_PHandle
+TAO_MProfile::get_current_handle (void) const
+{
+ if (current_ > 0)
+ return current_ - 1;
+ else
+ return 0;
+}
+
ACE_INLINE void
TAO_MProfile::rewind (void)
{