summaryrefslogtreecommitdiff
path: root/src/mongo/db/vector_clock_mongod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/vector_clock_mongod.cpp')
-rw-r--r--src/mongo/db/vector_clock_mongod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/vector_clock_mongod.cpp b/src/mongo/db/vector_clock_mongod.cpp
index 90c7261bbb7..c369a49382a 100644
--- a/src/mongo/db/vector_clock_mongod.cpp
+++ b/src/mongo/db/vector_clock_mongod.cpp
@@ -380,7 +380,7 @@ Future<void> VectorClockMongoD::_doWhileQueueNotEmptyOrError(ServiceContext* ser
})
.getAsync([this, promise = std::move(p)](
StatusWith<std::pair<uint64_t, VectorTime>> swResult) mutable {
- promise.setFromStatusWith(std::move(swResult));
+ promise.setFrom(std::move(swResult));
});
return future;