summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/remote_command_targeter.h')
-rw-r--r--src/mongo/client/remote_command_targeter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_targeter.h b/src/mongo/client/remote_command_targeter.h
index 98c6fa0c72c..55e47db6f8f 100644
--- a/src/mongo/client/remote_command_targeter.h
+++ b/src/mongo/client/remote_command_targeter.h
@@ -65,7 +65,7 @@ public:
* TODO(schwerin): Once operation max-time behavior is more uniformly integrated into sharding,
* remove the 20-second ceiling on wait time.
*/
- virtual StatusWith<HostAndPort> findHost(OperationContext* txn,
+ virtual StatusWith<HostAndPort> findHost(OperationContext* opCtx,
const ReadPreferenceSetting& readPref) = 0;