summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/scatter_gather_runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/scatter_gather_runner.cpp')
-rw-r--r--src/mongo/db/repl/scatter_gather_runner.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/scatter_gather_runner.cpp b/src/mongo/db/repl/scatter_gather_runner.cpp
index ace6b8492a2..0cc501dd5e1 100644
--- a/src/mongo/db/repl/scatter_gather_runner.cpp
+++ b/src/mongo/db/repl/scatter_gather_runner.cpp
@@ -76,7 +76,9 @@ StatusWith<EventHandle> ScatterGatherRunner::start() {
// RunnerImpl -> Callback in _callbacks -> RunnerImpl
// We must remove callbacks after using them, to break this cycle.
std::shared_ptr<RunnerImpl>& impl = _impl;
- auto cb = [impl](const RemoteCommandCallbackArgs& cbData) { impl->processResponse(cbData); };
+ auto cb = [impl](const RemoteCommandCallbackArgs& cbData) {
+ impl->processResponse(cbData);
+ };
return _impl->start(cb);
}