summaryrefslogtreecommitdiff
path: root/db/dbcommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r--db/dbcommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp
index 35796209e72..ba4437bd75c 100644
--- a/db/dbcommands.cpp
+++ b/db/dbcommands.cpp
@@ -677,7 +677,7 @@ namespace mongo {
BSONObjBuilder b;
b.append( "name", i->c_str() );
b.append( "sizeOnDisk", (double) dbSize( i->c_str() ) );
- dbInfos.push_back( b.doneAndDecouple() );
+ dbInfos.push_back( b.obj() );
seen.insert( i->c_str() );
}