summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/counttests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/counttests.cpp')
-rw-r--r--src/mongo/dbtests/counttests.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/dbtests/counttests.cpp b/src/mongo/dbtests/counttests.cpp
index 918b87ed3d7..5233c18d2bf 100644
--- a/src/mongo/dbtests/counttests.cpp
+++ b/src/mongo/dbtests/counttests.cpp
@@ -30,11 +30,12 @@
#include <boost/thread/thread.hpp>
+#include "mongo/db/catalog/collection.h"
#include "mongo/db/db.h"
+#include "mongo/db/db_raii.h"
#include "mongo/db/dbdirectclient.h"
#include "mongo/db/dbhelpers.h"
#include "mongo/db/json.h"
-#include "mongo/db/catalog/collection.h"
#include "mongo/db/operation_context_impl.h"
#include "mongo/dbtests/dbtests.h"
@@ -112,7 +113,7 @@ namespace CountTests {
ScopedTransaction _scopedXact;
Lock::DBLock _lk;
- Client::Context _context;
+ OldClientContext _context;
Database* _database;
Collection* _collection;