summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/reporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/reporter.cpp')
-rw-r--r--src/mongo/db/repl/reporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/reporter.cpp b/src/mongo/db/repl/reporter.cpp
index f532642dd25..a3120adf01c 100644
--- a/src/mongo/db/repl/reporter.cpp
+++ b/src/mongo/db/repl/reporter.cpp
@@ -98,7 +98,7 @@ namespace repl {
_updatePositionSource->prepareReplSetUpdatePositionCommand(&cmd);
StatusWith<ReplicationExecutor::CallbackHandle> scheduleResult =
_executor->scheduleRemoteCommand(
- ReplicationExecutor::RemoteCommandRequest(_target, "admin", cmd.obj()),
+ RemoteCommandRequest(_target, "admin", cmd.obj()),
stdx::bind(&Reporter::_callback, this, stdx::placeholders::_1));
if (!scheduleResult.isOK()) {