summaryrefslogtreecommitdiff
path: root/src/mongo/util
diff options
context:
space:
mode:
authorAndrew Shuvalov <andrew.shuvalov@mongodb.com>2020-12-21 17:39:08 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-11 23:40:11 +0000
commit1fca5817faaa9067d26dcf5261d4ea85bf7507a6 (patch)
tree78ff21435d2da0f8b14188b061db3a0e1b418a7c /src/mongo/util
parent69ff284997164b653421175dd0d76de8e5e1f310 (diff)
downloadmongo-1fca5817faaa9067d26dcf5261d4ea85bf7507a6.tar.gz
SERVER-52783: Make tenant_migration_donor_util::checkIfCanReadOrBlock return a Future, for now still synchronous
Diffstat (limited to 'src/mongo/util')
-rw-r--r--src/mongo/util/future.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/future.h b/src/mongo/util/future.h
index b1b8d7a7ce3..b4b0cdf786a 100644
--- a/src/mongo/util/future.h
+++ b/src/mongo/util/future.h
@@ -268,6 +268,8 @@ private:
friend class future_details::FutureImpl;
template <typename>
friend class SharedSemiFuture;
+ template <typename>
+ friend class SemiFuture;
explicit SemiFuture(future_details::SharedStateHolder<T_unless_void>&& impl)