diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-01 20:37:33 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-01 20:37:33 -0500 |
commit | 54db6356c47d7a639eae062818c3026561a64594 (patch) | |
tree | c11ead2d7bb621670387798b34f038efd047735e /src/mongo/client/remote_command_retry_scheduler.cpp | |
parent | 19ced195b842d9521220f76b8dd7da8c929ad8ee (diff) | |
download | mongo-54db6356c47d7a639eae062818c3026561a64594.tar.gz |
Revert "SERVER-32070 migrate some easy stdx::bind to lambdas"
This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
Diffstat (limited to 'src/mongo/client/remote_command_retry_scheduler.cpp')
-rw-r--r-- | src/mongo/client/remote_command_retry_scheduler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_retry_scheduler.cpp b/src/mongo/client/remote_command_retry_scheduler.cpp index 017f8ebf308..08e8d4477a8 100644 --- a/src/mongo/client/remote_command_retry_scheduler.cpp +++ b/src/mongo/client/remote_command_retry_scheduler.cpp @@ -223,7 +223,9 @@ std::string RemoteCommandRetryScheduler::toString() const { Status RemoteCommandRetryScheduler::_schedule_inlock() { ++_currentAttempt; auto scheduleResult = _executor->scheduleRemoteCommand( - _request, [this](const auto& x) { return _remoteCommandCallback(x); }); + _request, + stdx::bind( + &RemoteCommandRetryScheduler::_remoteCommandCallback, this, stdx::placeholders::_1)); if (!scheduleResult.isOK()) { return scheduleResult.getStatus(); |