This commit is contained in:
dwight
2010-07-19 22:32:43 -04:00
parent 86c2c1c780
commit fe1d205aa8
8 changed files with 84 additions and 9 deletions

View File

@@ -149,7 +149,7 @@ namespace mongo {
}
BSONObj DBClientCursor::next() {
assert( more() );
DEV assert( more() );
if ( !_putBack.empty() ) {
BSONObj ret = _putBack.top();
_putBack.pop();