diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-05-02 13:16:00 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-05-02 13:16:00 +0000 |
commit | eab75d3643f71435fda85847a32f50c45ebc136b (patch) | |
tree | 4e816ed5e118cd06425f02df0c57ca12c3639d99 /cpp/src | |
parent | Added Freeze::EvictorIterator. (diff) | |
download | ice-eab75d3643f71435fda85847a32f50c45ebc136b.tar.bz2 ice-eab75d3643f71435fda85847a32f50c45ebc136b.tar.xz ice-eab75d3643f71435fda85847a32f50c45ebc136b.zip |
Update.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Freeze/EvictorI.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Freeze/EvictorI.cpp b/cpp/src/Freeze/EvictorI.cpp index 6ac3919a6f7..333ea527611 100644 --- a/cpp/src/Freeze/EvictorI.cpp +++ b/cpp/src/Freeze/EvictorI.cpp @@ -471,6 +471,11 @@ Freeze::EvictorIteratorI::hasNext() Ice::Identity Freeze::EvictorIteratorI::next() { + if (_curr == _end) + { + throw Freeze::NoSuchElementException(__FILE__, __LINE__); + } + Ice::Identity ident = _curr->first; ++_curr; return ident; |