diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-10-31 15:42:17 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-11-15 17:25:11 -0500 |
commit | 3d7ed4fdd5e4840e9599a74ec92e16bc619bebf0 (patch) | |
tree | 2bd06655367af012e17bf80947cdb792fa1b9b44 /src/mongo/db/repl/abstract_async_component.h | |
parent | 1ded7067e2d1a6161b15e5a462f8cba2d755c9a6 (diff) | |
download | mongo-3d7ed4fdd5e4840e9599a74ec92e16bc619bebf0.tar.gz |
SERVER-35682 kill existing SharedPromise type
This required plumbing unique_function into many more places.
Diffstat (limited to 'src/mongo/db/repl/abstract_async_component.h')
-rw-r--r-- | src/mongo/db/repl/abstract_async_component.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/abstract_async_component.h b/src/mongo/db/repl/abstract_async_component.h index e7f14121c9a..63fa5db7e46 100644 --- a/src/mongo/db/repl/abstract_async_component.h +++ b/src/mongo/db/repl/abstract_async_component.h @@ -148,11 +148,11 @@ protected: * Saves handle if work was successfully scheduled. * Returns scheduleWork status (without the handle). */ - Status _scheduleWorkAndSaveHandle_inlock(const executor::TaskExecutor::CallbackFn& work, + Status _scheduleWorkAndSaveHandle_inlock(executor::TaskExecutor::CallbackFn work, executor::TaskExecutor::CallbackHandle* handle, const std::string& name); Status _scheduleWorkAtAndSaveHandle_inlock(Date_t when, - const executor::TaskExecutor::CallbackFn& work, + executor::TaskExecutor::CallbackFn work, executor::TaskExecutor::CallbackHandle* handle, const std::string& name); |