diff options
author | Dwight <dmerriman@gmail.com> | 2009-02-09 13:04:32 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-02-09 13:04:32 -0500 |
commit | 147948c7b33d4542a99352dd02ec3cb88f401a7c (patch) | |
tree | f7f2daa54521467911f742c42cfd073eb528f80c /dbtests/mockdbclient.h | |
parent | 10d5a55c357c9190b85576fc77bee8a71bb4d05e (diff) | |
download | mongo-147948c7b33d4542a99352dd02ec3cb88f401a7c.tar.gz |
doneAndDecouple() -> obj()
Diffstat (limited to 'dbtests/mockdbclient.h')
-rw-r--r-- | dbtests/mockdbclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/mockdbclient.h b/dbtests/mockdbclient.h index 739e7e5d666..af9149c51e6 100644 --- a/dbtests/mockdbclient.h +++ b/dbtests/mockdbclient.h @@ -67,7 +67,7 @@ public: BSONObjBuilder result; result.append( "ok", runCommandAgainstRegistered( "admin.$cmd", query.obj, result ) ? 1.0 : 0.0 ); if ( cc_ ) cc_->afterCommand(); - return result.doneAndDecouple(); + return result.obj(); } virtual bool connect( const char *serverHostname, string& errmsg ) { return true; |