diff options
Diffstat (limited to 'db/dbcommands_generic.cpp')
-rw-r--r-- | db/dbcommands_generic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbcommands_generic.cpp b/db/dbcommands_generic.cpp index 627439483a8..b2ccced06d8 100644 --- a/db/dbcommands_generic.cpp +++ b/db/dbcommands_generic.cpp @@ -152,7 +152,7 @@ namespace mongo { if (i->first != c->name) continue; - BSONObjBuilder temp( b.subobjStart( c->name.c_str() ) ); + BSONObjBuilder temp( b.subobjStart( c->name ) ); { stringstream help; |