summaryrefslogtreecommitdiff
path: root/db/jsobjmanipulator.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-06-09 11:43:04 -0400
committerEliot Horowitz <eliot@10gen.com>2009-06-09 11:43:04 -0400
commit00df88c21d12a230550dc250fb20fde0f1aedf26 (patch)
tree027bdafe3b99d8bd32d814d7b775262b6eb20920 /db/jsobjmanipulator.h
parenta525339af5c8ea2cc670fada418f3ea0f255f4e0 (diff)
downloadmongo-00df88c21d12a230550dc250fb20fde0f1aedf26.tar.gz
moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily SERVER-101
Diffstat (limited to 'db/jsobjmanipulator.h')
-rw-r--r--db/jsobjmanipulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/jsobjmanipulator.h b/db/jsobjmanipulator.h
index 0a7e0314c17..927e6fac860 100644
--- a/db/jsobjmanipulator.h
+++ b/db/jsobjmanipulator.h
@@ -54,7 +54,7 @@ public:
// replacement policy is a work in progress.
BSONObjIterator i( obj );
- for( int j = 0; i.more() && j < 2; ++j ) {
+ for( int j = 0; i.moreWithEOO() && j < 2; ++j ) {
BSONElement e = i.next();
if ( e.eoo() )
break;