From 00df88c21d12a230550dc250fb20fde0f1aedf26 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Tue, 9 Jun 2009 11:43:04 -0400 Subject: moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO() added _more temporarily SERVER-101 --- db/jsobjmanipulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/jsobjmanipulator.h') 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; -- cgit v1.2.1