summaryrefslogtreecommitdiff
path: root/src/mongo/util/alarm_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/alarm_test.cpp')
-rw-r--r--src/mongo/util/alarm_test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/util/alarm_test.cpp b/src/mongo/util/alarm_test.cpp
index 1fc29b1b5f9..f450284fc2a 100644
--- a/src/mongo/util/alarm_test.cpp
+++ b/src/mongo/util/alarm_test.cpp
@@ -112,12 +112,12 @@ TEST(AlarmRunner, BasicTest) {
AtomicWord<bool> future2Filled{false};
auto pf = makePromiseFuture<void>();
- std::move(alarm2.future).getAsync([&future2Filled,
- promise = std::move(pf.promise) ](Status status) mutable {
- ASSERT_OK(status);
- future2Filled.store(true);
- promise.emplaceValue();
- });
+ std::move(alarm2.future)
+ .getAsync([&future2Filled, promise = std::move(pf.promise)](Status status) mutable {
+ ASSERT_OK(status);
+ future2Filled.store(true);
+ promise.emplaceValue();
+ });
clockSource->advance(Milliseconds(11));