summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/counttests.cpp
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2014-12-22 17:32:27 -0500
committerScott Hernandez <scotthernandez@gmail.com>2015-01-02 14:21:08 -0500
commit8384c878b542352ba88ecade1e675b8412f2655f (patch)
treea9b40ee6ec4fb837b99a2d3a9e37b6ece12a650c /src/mongo/dbtests/counttests.cpp
parent8b37507dd51cdf058377a24ca0171e7fae6f2c6b (diff)
downloadmongo-8384c878b542352ba88ecade1e675b8412f2655f.tar.gz
SERVER-16502: make getCollection const and not require an OpContext
Diffstat (limited to 'src/mongo/dbtests/counttests.cpp')
-rw-r--r--src/mongo/dbtests/counttests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/counttests.cpp b/src/mongo/dbtests/counttests.cpp
index a854ebc0110..918b87ed3d7 100644
--- a/src/mongo/dbtests/counttests.cpp
+++ b/src/mongo/dbtests/counttests.cpp
@@ -54,7 +54,7 @@ namespace CountTests {
{
WriteUnitOfWork wunit(&_txn);
- _collection = _database->getCollection( &_txn, ns() );
+ _collection = _database->getCollection( ns() );
if ( _collection ) {
_database->dropCollection( &_txn, ns() );
}