summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/haystack_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/haystack_access_method.h')
-rw-r--r--src/mongo/db/index/haystack_access_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/haystack_access_method.h b/src/mongo/db/index/haystack_access_method.h
index a6ff68bdd9f..4bf8fc41839 100644
--- a/src/mongo/db/index/haystack_access_method.h
+++ b/src/mongo/db/index/haystack_access_method.h
@@ -60,7 +60,7 @@ public:
protected:
friend class GeoHaystackSearchCommand;
- void searchCommand(OperationContext* txn,
+ void searchCommand(OperationContext* opCtx,
Collection* collection,
const BSONObj& nearObj,
double maxDistance,