diff options
Diffstat (limited to 'src/mongo/util/future.h')
-rw-r--r-- | src/mongo/util/future.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/future.h b/src/mongo/util/future.h index f46f3c541e1..5bef6ff3209 100644 --- a/src/mongo/util/future.h +++ b/src/mongo/util/future.h @@ -1131,7 +1131,7 @@ NOINLINE_DECL auto ExecutorFuture<T>::wrapCBHelper(unique_function<Sig>&& func) exec = _exec // can't move this! ](auto&&... args) mutable noexcept ->Future<UnwrappedType<decltype(func(std::forward<decltype(args)>(args)...))>> { - auto[promise, future] = makePromiseFuture< + auto [promise, future] = makePromiseFuture< UnwrappedType<decltype(func(std::forward<decltype(args)>(args)...))>>(); exec->schedule([ |