summaryrefslogtreecommitdiff
path: root/ace/Hash_Map_Manager.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-31 21:17:17 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-31 21:17:17 +0000
commit1395e4f591a1c454f5d9f63ad5aac2dde892b5d2 (patch)
tree5de183de81cacf714c979132111a3ac3d9b09cf2 /ace/Hash_Map_Manager.cpp
parentbe0e4c3184f6b1377198e880b4c8145ed7e5ae46 (diff)
downloadATCD-1395e4f591a1c454f5d9f63ad5aac2dde892b5d2.tar.gz
(unbind_i): set the int_id reference argument instead of ignoring it.
Diffstat (limited to 'ace/Hash_Map_Manager.cpp')
-rw-r--r--ace/Hash_Map_Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Hash_Map_Manager.cpp b/ace/Hash_Map_Manager.cpp
index 5e9e5bcde3d..d5e291beb57 100644
--- a/ace/Hash_Map_Manager.cpp
+++ b/ace/Hash_Map_Manager.cpp
@@ -331,8 +331,6 @@ template <class EXT_ID, class INT_ID, class ACE_LOCK> int
ACE_Hash_Map_Manager<EXT_ID, INT_ID, ACE_LOCK>::unbind_i (const EXT_ID &ext_id,
INT_ID &int_id)
{
- ACE_UNUSED_ARG (int_id);
-
ACE_Hash_Map_Entry<EXT_ID, INT_ID> *temp;
u_long loc;
@@ -344,6 +342,8 @@ ACE_Hash_Map_Manager<EXT_ID, INT_ID, ACE_LOCK>::unbind_i (const EXT_ID &ext_id,
return -1;
}
+ int_id = temp->int_id_;
+
return this->unbind_i (temp);
}