summaryrefslogtreecommitdiff
path: root/src/mongo/util/future.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/future.h')
-rw-r--r--src/mongo/util/future.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/future.h b/src/mongo/util/future.h
index 0dabd2c98ff..cd1a24066c4 100644
--- a/src/mongo/util/future.h
+++ b/src/mongo/util/future.h
@@ -1111,7 +1111,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([