diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-10-17 16:17:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-10-17 16:17:17 +0000 |
commit | b3114f20203cbdfbc3f25419b180c01f8cc78a95 (patch) | |
tree | a5bdf9c1206abe950df1fa01f27b9dc793f018d1 /ace/Containers_T.i | |
parent | 99fd44ea2b456bade9853f97b03a9c3ee743b3a8 (diff) | |
download | ATCD-b3114f20203cbdfbc3f25419b180c01f8cc78a95.tar.gz |
ChangeLogTag:Sun Oct 17 11:00:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Containers_T.i')
-rw-r--r-- | ace/Containers_T.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Containers_T.i b/ace/Containers_T.i index e39c2208bf1..664d766faac 100644 --- a/ace/Containers_T.i +++ b/ace/Containers_T.i @@ -442,7 +442,8 @@ ACE_DLList<T>::get (T *&item, size_t index) { ACE_DLList_Node *node; int result = ACE_DLList_Base::get (node, index); - item = (T *) node->item_; + if (result != -1) + item = (T *) node->item_; return result; } |