diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-06-09 11:43:04 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-06-09 11:43:04 -0400 |
commit | 00df88c21d12a230550dc250fb20fde0f1aedf26 (patch) | |
tree | 027bdafe3b99d8bd32d814d7b775262b6eb20920 /s/config.cpp | |
parent | a525339af5c8ea2cc670fada418f3ea0f255f4e0 (diff) | |
download | mongo-00df88c21d12a230550dc250fb20fde0f1aedf26.tar.gz |
moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
Diffstat (limited to 's/config.cpp')
-rw-r--r-- | s/config.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/s/config.cpp b/s/config.cpp index a1518fdb901..b4e53d1dfce 100644 --- a/s/config.cpp +++ b/s/config.cpp @@ -108,11 +108,9 @@ namespace mongo { BSONObj sharded = from.getObjectField( "sharded" ); if ( ! sharded.isEmpty() ){ BSONObjIterator i(sharded); - while ( i.more() ){ + while ( i._more() ){ BSONElement e = i.next(); - if ( e.eoo() ) - break; - uassert( "shared things have to be objects" , e.type() == Object ); + uassert( "sharded things have to be objects" , e.type() == Object ); _sharded[e.fieldName()] = e.embeddedObject(); } } |