diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-10-06 13:05:48 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-10-06 13:05:48 +0000 |
commit | db6d98b94173dd780e99037ed8b3a65f022c1ef8 (patch) | |
tree | 41cae8da529357f2517a38a7b0d696b8dbae7076 /ace/Active_Map_Manager_T.i | |
parent | 4bde85c51c625f4f998768234779938f239bcbcd (diff) | |
download | ATCD-db6d98b94173dd780e99037ed8b3a65f022c1ef8.tar.gz |
ChangeLogTag:Tue Oct 5 16:17:57 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Active_Map_Manager_T.i')
-rw-r--r-- | ace/Active_Map_Manager_T.i | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ace/Active_Map_Manager_T.i b/ace/Active_Map_Manager_T.i index 58f485f4432..c98a302df2f 100644 --- a/ace/Active_Map_Manager_T.i +++ b/ace/Active_Map_Manager_T.i @@ -55,7 +55,7 @@ ACE_Active_Map_Manager<T>::bind (const T &value) template <class T> ACE_INLINE int ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key, - T *&internal_value) + T *&internal_value) const { size_t slot_index = key.slot_index (); size_t slot_generation = key.slot_generation (); @@ -79,7 +79,7 @@ ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key, } template <class T> ACE_INLINE int -ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key) +ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key) const { T *internal_value = 0; return this->find (key, @@ -88,16 +88,14 @@ ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key) template <class T> ACE_INLINE int ACE_Active_Map_Manager<T>::find (const ACE_Active_Map_Manager_Key &key, - T &value) + T &value) const { T *internal_value = 0; int result = this->find (key, internal_value); if (result == 0) - { - value = *internal_value; - } + value = *internal_value; return result; } |