summaryrefslogtreecommitdiff
path: root/ace/Map_Manager.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-07 21:02:00 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-07 21:02:00 +0000
commitb401547649ac64058e02cd982d81e7ed05009c50 (patch)
tree583155a981e82902cd25f7da2bd343a0b2d1e099 /ace/Map_Manager.cpp
parent121cbdc42ab2d95327e4a9fba112b53e50db48ea (diff)
downloadATCD-b401547649ac64058e02cd982d81e7ed05009c50.tar.gz
updated header file to indicate that find functions return a non-negative integer if the item is found, and changed find_i (const EXT_ID &, INT_ID &) to return index instead of 0 to be consistent with find_i (const EXT_ID &)
Diffstat (limited to 'ace/Map_Manager.cpp')
-rw-r--r--ace/Map_Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Map_Manager.cpp b/ace/Map_Manager.cpp
index 245772bbc0f..5e42d0deab7 100644
--- a/ace/Map_Manager.cpp
+++ b/ace/Map_Manager.cpp
@@ -423,7 +423,7 @@ ACE_Map_Manager<EXT_ID, INT_ID, LOCK>::find_i (const EXT_ID &ext_id,
{
// Found it, so assign a copy.
int_id = this->search_structure_[index].int_id_;
- return 0;
+ return index;
}
}