diff options
Diffstat (limited to 'src/mongo/db/vector_clock_mongod.cpp')
-rw-r--r-- | src/mongo/db/vector_clock_mongod.cpp | 2 |
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; |