summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-21 22:55:51 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-22 11:38:33 -0400
commit5f756d65b25704facdc3b98a7ddd93d7df0be846 (patch)
treeddb31c39d7a1e4f5bc5e2374067eedcb22b9a7b9 /src/mongo/db/repl/repl_set.h
parente6c13ebd16684b22b3916ccbbca4a72de9f72277 (diff)
downloadmongo-5f756d65b25704facdc3b98a7ddd93d7df0be846.tar.gz
SERVER-14645 Switch LockState usages to OperationContext
Diffstat (limited to 'src/mongo/db/repl/repl_set.h')
-rw-r--r--src/mongo/db/repl/repl_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/repl_set.h b/src/mongo/db/repl/repl_set.h
index 57d2b715a0a..a29e8f99a36 100644
--- a/src/mongo/db/repl/repl_set.h
+++ b/src/mongo/db/repl/repl_set.h
@@ -41,7 +41,7 @@ namespace repl {
// for the replSetStepDown command
// Returns false if this node isn't currently primary
- bool stepDown(int secs) { return _stepDown(secs); }
+ bool stepDown(OperationContext* txn, int secs) { return _stepDown(txn, secs); }
// for the replSetFreeze command
bool freeze(int secs) { return _freeze(secs); }